Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:31:50 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:31:50 +0400
commit8a1e41ca7d5b59f12711e19d2382c4f4448f7803 (patch)
treeba181d4c9feeef97b75c8f27d12876024adb3dbe /texture_paint_layer_manager.py
parent857f14eff6971ea3db19cb99686354c9388430b9 (diff)
Systematically adding some custom id to template_list using default UI_UL_list class, this one is commoly used more than once in an area, yielding collision issues if they do not have a custom id...
Diffstat (limited to 'texture_paint_layer_manager.py')
-rw-r--r--texture_paint_layer_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/texture_paint_layer_manager.py b/texture_paint_layer_manager.py
index 192f9e66..dd8c3a05 100644
--- a/texture_paint_layer_manager.py
+++ b/texture_paint_layer_manager.py
@@ -155,7 +155,7 @@ class OBJECT_PT_Texture_paint_layers(bpy.types.Panel):
row.label(' Add a Material first!', icon = 'ERROR')
else:
row = layout.row()
- row.template_list("UI_UL_list", "", ob, "material_slots", ob,
+ row.template_list("UI_UL_list", "texture_paint_layers", ob, "material_slots", ob,
"active_material_index", rows=2 )
#list Paintable textures