Fix bug where you couldn't change the aggregate of a spatial element (which has been locked during import)

This commit is contained in:
Dion Moult
2024-05-31 21:17:51 +10:00
parent 77abe9a0a5
commit b2e7044373
@@ -50,7 +50,7 @@ class BIM_OT_aggregate_assign_object(bpy.types.Operator, Operator):
if not relating_obj:
return
for obj in bpy.context.selected_objects:
for obj in bpy.context.selected_objects + [bpy.context.active_object]:
if obj == relating_obj:
continue
element = tool.Ifc.get_entity(obj)