mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix hiding by accident object class asignment section in 86d0139f4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user