mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
now sets active object too when selecting from web UI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user