Fix regression where you couldn't move spatial elements from the new aggregate move override.

This commit is contained in:
Dion Moult
2025-01-12 21:47:42 +11:00
parent 03d3b1e52c
commit 2d38d8520c
@@ -2950,7 +2950,7 @@ class OverrideMoveAggregate(bpy.types.Operator):
obj.select_set(False)
continue
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
parts = ifcopenshell.util.element.get_parts(element)
if parts: