mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Hide selection of objects outside the aggregate when in "aggregate edit mode".
This commit is contained in:
committed by
Bruno Perdigão
parent
21d3b1d472
commit
ccdf1cee0a
@@ -412,6 +412,7 @@ class BIM_OT_aggregate_mode_set_edit(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
if not obj.data:
|
if not obj.data:
|
||||||
continue
|
continue
|
||||||
obj.original.display_type = "BOUNDS"
|
obj.original.display_type = "BOUNDS"
|
||||||
|
obj.hide_select = True
|
||||||
not_editing_obj = props.not_editing_objects.add()
|
not_editing_obj = props.not_editing_objects.add()
|
||||||
not_editing_obj.obj = obj.original
|
not_editing_obj.obj = obj.original
|
||||||
|
|
||||||
@@ -437,6 +438,7 @@ class BIM_OT_disable_aggregate_mode_set_edit(bpy.types.Operator, tool.Ifc.Operat
|
|||||||
objs = [o.obj for o in props.not_editing_objects]
|
objs = [o.obj for o in props.not_editing_objects]
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
obj.original.display_type = "TEXTURED"
|
obj.original.display_type = "TEXTURED"
|
||||||
|
obj.hide_select = False
|
||||||
element = tool.Ifc.get_entity(obj)
|
element = tool.Ifc.get_entity(obj)
|
||||||
if not element:
|
if not element:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user