You can now select elements by material in the material manager.

This commit is contained in:
Dion Moult
2022-03-22 13:25:26 +11:00
parent 9b9f0058f9
commit 0bba31e5f9
10 changed files with 76 additions and 0 deletions
@@ -147,3 +147,10 @@ class TestDisableEditingMaterials:
def test_run(self, material):
material.disable_editing_materials().should_be_called()
subject.disable_editing_materials(material)
class TestSelectByMaterial:
def test_run(self, material):
material.get_elements_by_material("material").should_be_called().will_return("elements")
material.select_elements("elements").should_be_called()
subject.select_by_material(material, material="material")