mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 22:31:55 +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:
|
if not relating_obj:
|
||||||
return
|
return
|
||||||
|
|
||||||
for obj in bpy.context.selected_objects:
|
for obj in bpy.context.selected_objects + [bpy.context.active_object]:
|
||||||
if obj == relating_obj:
|
if obj == relating_obj:
|
||||||
continue
|
continue
|
||||||
element = tool.Ifc.get_entity(obj)
|
element = tool.Ifc.get_entity(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user