mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
when bim.select_aggregate is run, it deselects the initial object
This commit is contained in:
@@ -209,6 +209,7 @@ class BIM_OT_select_aggregate(bpy.types.Operator):
|
|||||||
aggregate_obj = tool.Ifc.get_object(aggregate)
|
aggregate_obj = tool.Ifc.get_object(aggregate)
|
||||||
if aggregate_obj in context.selectable_objects:
|
if aggregate_obj in context.selectable_objects:
|
||||||
aggregate_obj.select_set(True)
|
aggregate_obj.select_set(True)
|
||||||
|
obj.select_set(False)
|
||||||
bpy.context.view_layer.objects.active = aggregate_obj
|
bpy.context.view_layer.objects.active = aggregate_obj
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user