Fix hiding by accident object class asignment section in 86d0139f4

This commit is contained in:
Andrej730
2024-10-30 15:02:13 +05:00
parent a66cffddb8
commit b6da13c504
+1 -6
View File
@@ -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