mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +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"]:
|
||||
row = self.layout.row(align=True)
|
||||
row.label(text="No Materials Available")
|
||||
row.operator("bim.add_material", icon="ADD", text="").obj = ""
|
||||
row.operator("bim.add_material", icon="ADD", text="")
|
||||
return
|
||||
|
||||
if ObjectMaterialData.data["type_material"]:
|
||||
|
||||
Reference in New Issue
Block a user