This commit is contained in:
Andrej730
2023-10-17 10:47:52 +05:00
parent 3804b4912e
commit dcc600805c
@@ -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: