This commit is contained in:
Andrej730
2023-10-17 10:47:52 +05:00
parent f38952dc51
commit 6c9e130ca8
@@ -180,7 +180,7 @@ class UnlinkObject(bpy.types.Operator):
obj = obj_copy
if obj in IfcStore.edited_objs:
IfcStore.edited_objs.remove(obj)
tool.Ifc.unlink_element(obj=obj)
tool.Ifc.unlink(obj=obj)
if obj.data:
obj.data = obj.data.copy()
for material_slot in obj.material_slots: