diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index d916007ea41..def272d5045 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -1052,5 +1052,38 @@ class MATERIAL_PT_custom_props(MaterialButtonsPanel, PropertyPanel, Panel): _context_path = "material" _property_type = bpy.types.Material + +classes = ( + MATERIAL_MT_specials, + MATERIAL_MT_sss_presets, + MATERIAL_PT_context_material, + MATERIAL_PT_custom_props, + MATERIAL_PT_diffuse, + MATERIAL_PT_flare, + MATERIAL_PT_game_settings, + MATERIAL_PT_halo, + MATERIAL_PT_mirror, + MATERIAL_PT_options, + MATERIAL_PT_physics, + MATERIAL_PT_pipeline, + MATERIAL_PT_preview, + MATERIAL_PT_shading, + MATERIAL_PT_shadow, + MATERIAL_PT_specular, + MATERIAL_PT_sss, + MATERIAL_PT_strand, + MATERIAL_PT_transp, + MATERIAL_PT_transp_game, + MATERIAL_PT_volume_density, + MATERIAL_PT_volume_integration, + MATERIAL_PT_volume_lighting, + MATERIAL_PT_volume_options, + MATERIAL_PT_volume_shading, + MATERIAL_PT_volume_transp, + MATERIAL_UL_matslots, +) + if __name__ == "__main__": # only for live edit. - bpy.utils.register_module(__name__) + from bpy.utils import register_class + for cls in classes: + register_class(cls) |