[Bf-extensions-cvs] [84367c7d] master: 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
ZanQdo
noreply at git.blender.org
Tue Apr 19 22:25:09 CEST 2022
Commit: 84367c7d8e1c62386aa1940426be7fbde13f0cc0
Author: ZanQdo
Date: Tue Apr 19 14:23:30 2022 -0600
Branches: master
https://developer.blender.org/rBA84367c7d8e1c62386aa1940426be7fbde13f0cc0
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
===================================================================
M rigify/ui.py
===================================================================
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')
More information about the Bf-extensions-cvs
mailing list