mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix #2938. Unlinked objects should no longer synchronise edits after they've changed.
This commit is contained in:
@@ -168,6 +168,8 @@ class UnlinkObject(bpy.types.Operator):
|
||||
objects = context.selected_objects
|
||||
for obj in objects:
|
||||
if obj.BIMObjectProperties.ifc_definition_id:
|
||||
if obj in IfcStore.edited_objs:
|
||||
IfcStore.edited_objs.remove(obj)
|
||||
IfcStore.unlink_element(obj=obj)
|
||||
if obj.data:
|
||||
obj.data = obj.data.copy()
|
||||
|
||||
Reference in New Issue
Block a user