now sets active object too when selecting from web UI

This commit is contained in:
Ziad-I
2024-06-21 22:33:05 +03:00
committed by Dion Moult
parent 8d9d142bc2
commit cbd017aceb
+1
View File
@@ -150,6 +150,7 @@ class Web(blenderbim.core.tool.Web):
guid = operator_data["GlobalId"]
ele = tool.Ifc.get().by_guid(guid)
obj = tool.Ifc.get_object(ele)
bpy.context.view_layer.objects.active = obj
obj.select_set(True)
return 1.0