mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +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
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
return (
|
return tool.Blender.is_tab(context, "OBJECT") and tool.Ifc.get() and (obj := context.active_object)
|
||||||
tool.Blender.is_tab(context, "OBJECT")
|
|
||||||
and tool.Ifc.get()
|
|
||||||
and (obj := context.active_object)
|
|
||||||
and tool.Ifc.get_entity(obj)
|
|
||||||
)
|
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user