diff options
Diffstat (limited to 'texture_paint_layer_manager.py')
-rw-r--r-- | texture_paint_layer_manager.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/texture_paint_layer_manager.py b/texture_paint_layer_manager.py index c62452e7..8888dd41 100644 --- a/texture_paint_layer_manager.py +++ b/texture_paint_layer_manager.py @@ -154,12 +154,10 @@ class OBJECT_PT_Texture_paint_layers(bpy.types.Panel): row = layout.row() row.label(' Add a Material first!', icon = 'ERROR') else: - row = layout.row() - row.template_list(ob, "material_slots", ob, - "active_material_index", rows=2 ) - - - + row = layout.row() + row.template_list("UI_UL_list", "", ob, "material_slots", ob, + "active_material_index", rows=2 ) + #list Paintable textures #TODO add filter for channel type i = -1 |