From 868c331064696db061eb0091bd4d7ddacfc951d8 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 28 Dec 2012 10:48:12 +0000 Subject: Updated to use UI_UL_list as template_list... --- texture_paint_layer_manager.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'texture_paint_layer_manager.py') 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 -- cgit v1.2.3