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:
authorZanQdo <zanqdo@gmail.com>2022-04-19 23:23:30 +0300
committerZanQdo <zanqdo@gmail.com>2022-04-19 23:23:30 +0300
commit84367c7d8e1c62386aa1940426be7fbde13f0cc0 (patch)
tree8d8a15ff8f050859a87108099b2c8c934b999297
parenta65df677f70759440c4cea4bfe74ca458844bd78 (diff)
Rigify UI: Make the layers start at 0 to match the real layer numbers, change the icons for adding and removing Rigify bone groups. Reviewed By: Aaron Carlisle, Differential Revision: http://developer.blender.org/D11352
-rw-r--r--rigify/ui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rigify/ui.py b/rigify/ui.py
index 54ae4a70..adcad1d7 100644
--- a/rigify/ui.py
+++ b/rigify/ui.py
@@ -227,7 +227,7 @@ class DATA_PT_rigify_layer_names(bpy.types.Panel):
for i in range(32):
if i == 16 or i == 29:
col1.label()
- col1.label(text=str(i+1) + '.')
+ col1.label(text=str(i))
for i, rigify_layer in enumerate(arm.rigify_layers):
# note: rigify_layer == arm.rigify_layers[i]
@@ -563,8 +563,8 @@ class DATA_PT_rigify_bone_groups(bpy.types.Panel):
row.template_list("DATA_UL_rigify_bone_groups", "", obj.data, "rigify_colors", obj.data, "rigify_colors_index")
col = row.column(align=True)
- col.operator("armature.rigify_bone_group_add", icon='ZOOM_IN', text="")
- col.operator("armature.rigify_bone_group_remove", icon='ZOOM_OUT', text="").idx = obj.data.rigify_colors_index
+ col.operator("armature.rigify_bone_group_add", icon='ADD', text="")
+ col.operator("armature.rigify_bone_group_remove", icon='REMOVE', text="").idx = obj.data.rigify_colors_index
col.menu("DATA_MT_rigify_bone_groups_context_menu", icon='DOWNARROW_HLT', text="")
row = layout.row()
row.prop(armature, 'rigify_theme_to_add', text = 'Theme')