From b6da13c504b5eb07bb7c019492ca8cd650d82faa Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 30 Oct 2024 15:02:13 +0500 Subject: [PATCH] Fix hiding by accident object class asignment section in 86d0139f4 --- src/bonsai/bonsai/bim/ui.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/bonsai/bonsai/bim/ui.py b/src/bonsai/bonsai/bim/ui.py index 510fed80bc..3e8bdbba2f 100644 --- a/src/bonsai/bonsai/bim/ui.py +++ b/src/bonsai/bonsai/bim/ui.py @@ -837,12 +837,7 @@ class BIM_PT_tab_object_metadata(Panel): @classmethod def poll(cls, context): - return ( - tool.Blender.is_tab(context, "OBJECT") - and tool.Ifc.get() - and (obj := context.active_object) - and tool.Ifc.get_entity(obj) - ) + return tool.Blender.is_tab(context, "OBJECT") and tool.Ifc.get() and (obj := context.active_object) def draw(self, context): pass