mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Minor fix to disable_aggregate_mode().
This commit is contained in:
committed by
Bruno Perdigão
parent
9838a54173
commit
5ebaaa6c8c
@@ -194,10 +194,14 @@ class Aggregate(bonsai.core.tool.Aggregate):
|
||||
if not element:
|
||||
continue
|
||||
|
||||
objs = [o.obj for o in props.editing_objects]
|
||||
parts = ifcopenshell.util.element.get_parts(tool.Ifc.get_entity(props.editing_aggregate))
|
||||
objs = [tool.Ifc.get_object(part) for part in parts]
|
||||
for obj in objs:
|
||||
tool.Aggregate.enable_constraints(obj)
|
||||
|
||||
if context.space_data.local_view:
|
||||
bpy.ops.view3d.localview()
|
||||
|
||||
props.in_aggregate_mode = False
|
||||
props.not_editing_objects.clear()
|
||||
props.editing_objects.clear()
|
||||
|
||||
Reference in New Issue
Block a user