From a7252273b4c0e9e214ce65961839f2bdc98d82f8 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 21 Jul 2021 10:41:29 +1000 Subject: [PATCH] Fix bug where searching a GlobalId wouldn't work if you previously used the debug panel. --- src/blenderbim/blenderbim/bim/module/search/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/search/ui.py b/src/blenderbim/blenderbim/bim/module/search/ui.py index 8095ae26eb..c45339201f 100644 --- a/src/blenderbim/blenderbim/bim/module/search/ui.py +++ b/src/blenderbim/blenderbim/bim/module/search/ui.py @@ -28,7 +28,7 @@ class BIM_PT_search(Panel): row = self.layout.row(align=True) row.prop(props, "global_id", text="", icon="TRACKER") - row.operator("bim.select_global_id", text="", icon="VIEWZOOM") + row.operator("bim.select_global_id", text="", icon="VIEWZOOM").global_id = props.global_id row = self.layout.row(align=True) row.prop(props, "ifc_class", text="", icon="OBJECT_DATA")