mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix bug where you couldn't change the aggregate of a spatial element (which has been locked during import)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user