mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix unlinking objects with should_delete=False after 75f8e75
It was keeping a reference to that object in IfcStore which could lead to issues.
This commit is contained in:
@@ -268,6 +268,8 @@ class UnlinkObject(bpy.types.Operator):
|
||||
|
||||
obj = obj_copy
|
||||
obj.name = object_name
|
||||
elif element:
|
||||
tool.Ifc.unlink(element)
|
||||
|
||||
tool.Root.unlink_object(obj)
|
||||
for collection in obj.users_collection:
|
||||
|
||||
Reference in New Issue
Block a user