mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
@@ -180,7 +180,7 @@ class UnlinkObject(bpy.types.Operator):
|
|||||||
obj = obj_copy
|
obj = obj_copy
|
||||||
if obj in IfcStore.edited_objs:
|
if obj in IfcStore.edited_objs:
|
||||||
IfcStore.edited_objs.remove(obj)
|
IfcStore.edited_objs.remove(obj)
|
||||||
tool.Ifc.unlink_element(obj=obj)
|
tool.Ifc.unlink(obj=obj)
|
||||||
if obj.data:
|
if obj.data:
|
||||||
obj.data = obj.data.copy()
|
obj.data = obj.data.copy()
|
||||||
for material_slot in obj.material_slots:
|
for material_slot in obj.material_slots:
|
||||||
|
|||||||
Reference in New Issue
Block a user