mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Fix regression where you couldn't move spatial elements from the new aggregate move override.
This commit is contained in:
@@ -2950,7 +2950,7 @@ class OverrideMoveAggregate(bpy.types.Operator):
|
|||||||
obj.select_set(False)
|
obj.select_set(False)
|
||||||
continue
|
continue
|
||||||
element = tool.Ifc.get_entity(obj)
|
element = tool.Ifc.get_entity(obj)
|
||||||
if not element or props.in_aggregate_mode:
|
if not element or not element.is_a("IfcElement") or props.in_aggregate_mode:
|
||||||
continue
|
continue
|
||||||
parts = ifcopenshell.util.element.get_parts(element)
|
parts = ifcopenshell.util.element.get_parts(element)
|
||||||
if parts:
|
if parts:
|
||||||
|
|||||||
Reference in New Issue
Block a user