mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 22:16:41 +00:00
fix ui bug after 114fca8be
This commit is contained in:
@@ -150,7 +150,7 @@ class BIM_PT_object_material(Panel):
|
|||||||
if not ObjectMaterialData.data["materials"]:
|
if not ObjectMaterialData.data["materials"]:
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
row.label(text="No Materials Available")
|
row.label(text="No Materials Available")
|
||||||
row.operator("bim.add_material", icon="ADD", text="").obj = ""
|
row.operator("bim.add_material", icon="ADD", text="")
|
||||||
return
|
return
|
||||||
|
|
||||||
if ObjectMaterialData.data["type_material"]:
|
if ObjectMaterialData.data["type_material"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user