Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(693)

Unified Diff: release/scripts/startup/bl_ui/properties_data_armature.py

Issue 6854125: Rewrite of list template system (Closed) Base URL: https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Patch Set: This commit refactors how template_list works. It introduces a new (py-extendable and registrable) Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: release/scripts/startup/bl_ui/properties_data_armature.py
===================================================================
--- release/scripts/startup/bl_ui/properties_data_armature.py (révision 53009)
+++ release/scripts/startup/bl_ui/properties_data_armature.py (copie de travail)
@@ -124,7 +124,7 @@
rows = 2
if group:
rows = 5
- row.template_list(pose, "bone_groups", pose.bone_groups, "active_index", rows=rows)
+ row.template_list("UI_UL_list", "", pose, "bone_groups", pose.bone_groups, "active_index", rows=rows)
col = row.column(align=True)
col.active = (ob.proxy is None)
@@ -184,7 +184,7 @@
if poselib:
# list of poses in pose library
row = layout.row()
- row.template_list(poselib, "pose_markers", poselib.pose_markers, "active_index", rows=5)
+ row.template_list("UI_UL_list", "", poselib, "pose_markers", poselib.pose_markers, "active_index", rows=5)
# column of operators for active pose
# - goes beside list

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b