fix ui bug after 114fca8be

This commit is contained in:
Andrej730
2024-06-17 14:51:22 +05:00
parent 03663eec3f
commit 6bafbd92f3
@@ -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"]: