when bim.select_aggregate is run, it deselects the initial object

This commit is contained in:
Ryan Schultz
2024-03-16 11:01:53 -05:00
parent abeefeeee7
commit f442a99a2c
@@ -209,6 +209,7 @@ class BIM_OT_select_aggregate(bpy.types.Operator):
aggregate_obj = tool.Ifc.get_object(aggregate)
if aggregate_obj in context.selectable_objects:
aggregate_obj.select_set(True)
obj.select_set(False)
bpy.context.view_layer.objects.active = aggregate_obj
return {"FINISHED"}