Revert "Fix #2418. Object materials are now found in the materials tab."

This reverts commit 7666463751.
This commit is contained in:
Dion Moult
2023-03-15 18:29:46 +11:00
parent cce0867f63
commit 9121a6b864
2 changed files with 3 additions and 2 deletions
@@ -56,8 +56,8 @@ classes = (
prop.BIMMaterialProperties,
prop.BIMObjectMaterialProperties,
ui.BIM_PT_materials,
ui.BIM_PT_object_material,
ui.BIM_PT_material,
ui.BIM_PT_object_material,
ui.BIM_UL_materials,
)
@@ -103,7 +103,8 @@ class BIM_PT_object_material(Panel):
bl_idname = "BIM_PT_object_material"
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "material"
bl_context = "object"
bl_parent_id = "BIM_PT_object_metadata"
@classmethod
def poll(cls, context):