Have bim.select_aggregate make the aggregate empty the active object, as well.

This commit is contained in:
Ryan Schultz
2023-09-18 20:21:19 -05:00
parent 7e10d520f4
commit d4274e0e20
@@ -202,6 +202,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)
bpy.context.view_layer.objects.active = aggregate_obj
return {"FINISHED"}