mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 11:46:33 +00:00
Fix #2418. Object materials are now found in the materials tab.
This commit is contained in:
@@ -56,8 +56,8 @@ classes = (
|
|||||||
prop.BIMMaterialProperties,
|
prop.BIMMaterialProperties,
|
||||||
prop.BIMObjectMaterialProperties,
|
prop.BIMObjectMaterialProperties,
|
||||||
ui.BIM_PT_materials,
|
ui.BIM_PT_materials,
|
||||||
ui.BIM_PT_material,
|
|
||||||
ui.BIM_PT_object_material,
|
ui.BIM_PT_object_material,
|
||||||
|
ui.BIM_PT_material,
|
||||||
ui.BIM_UL_materials,
|
ui.BIM_UL_materials,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -103,8 +103,7 @@ class BIM_PT_object_material(Panel):
|
|||||||
bl_idname = "BIM_PT_object_material"
|
bl_idname = "BIM_PT_object_material"
|
||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "object"
|
bl_context = "material"
|
||||||
bl_parent_id = "BIM_PT_object_metadata"
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
|
|||||||
Reference in New Issue
Block a user