Fix critical bug where duplicate orphaned collections were created in the background.

This commit is contained in:
Dion Moult
2023-02-27 20:12:39 +11:00
parent d9b54c923c
commit b25233a748
6 changed files with 38 additions and 22 deletions
-9
View File
@@ -154,15 +154,6 @@ class TestRunGeometryAddRepresntation(NewFile):
pass
class TestSetElementSpecificDisplaySettings(NewFile):
def test_opening_elements_display_as_wire(self):
ifc = ifcopenshell.file()
obj = bpy.data.objects.new("Object", bpy.data.meshes.new("Mesh"))
element = ifc.createIfcOpeningElement()
subject.set_element_specific_display_settings(obj, element)
assert obj.display_type == "WIRE"
class TestSetObjectName(NewFile):
def test_run(self):
ifc = ifcopenshell.file()