[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54572] trunk/blender/release/scripts/ startup/bl_ui/properties_data_armature.py: Fix [#34253] UIList resize, resizes wrong list I/II

Bastien Montagne montagne29 at wanadoo.fr
Fri Feb 15 09:32:25 CET 2013


Revision: 54572
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54572
Author:   mont29
Date:     2013-02-15 08:32:25 +0000 (Fri, 15 Feb 2013)
Log Message:
-----------
Fix [#34253] UIList resize, resizes wrong list I/II

When using default UI_UL_list, one should always spully a custom ID, else collision inside an area are quite likely...

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py	2013-02-15 08:31:00 UTC (rev 54571)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py	2013-02-15 08:32:25 UTC (rev 54572)
@@ -124,7 +124,7 @@
         rows = 2
         if group:
             rows = 5
-        row.template_list("UI_UL_list", "", pose, "bone_groups", pose.bone_groups, "active_index", rows=rows)
+        row.template_list("UI_UL_list", "bone_groups", pose, "bone_groups", pose.bone_groups, "active_index", rows=rows)
 
         col = row.column(align=True)
         col.active = (ob.proxy is None)




More information about the Bf-blender-cvs mailing list