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-15 12:32:37 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-02-15 12:32:37 +0400
commit66396376c78c3e4f2bd02fbaa94598598eac5445 (patch)
treec3c0bbff280d9980f14e5febe8698024fec545d6
parent626a035c08c5db27d1fc3acc46905e49fcb6dedf (diff)
Fix [#34253] UIList resize, resizes wrong list II/II
When using default UI_UL_list, one should always spully a custom ID, else collision inside an area are quite likely...
-rw-r--r--rigify/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/ui.py b/rigify/ui.py
index ce6a985f..136ff172 100644
--- a/rigify/ui.py
+++ b/rigify/ui.py
@@ -77,7 +77,7 @@ class DATA_PT_rigify_buttons(bpy.types.Panel):
# Rig type list
row = layout.row()
- row.template_list("UI_UL_list", "", id_store, "rigify_types", id_store, 'rigify_active_type')
+ row.template_list("UI_UL_list", "rigify_types", id_store, "rigify_types", id_store, 'rigify_active_type')
props = layout.operator("armature.metarig_sample_add", text="Add sample")
props.metarig_type = id_store.rigify_types[id_store.rigify_active_type].name