[Bf-blender-cvs] [64f3774] master: Fix T39768: GLOBAL_X/Y/Z don't exist for bpy.ops.armature.calculate_roll type enum

Joshua Leung noreply at git.blender.org
Thu Apr 17 05:08:38 CEST 2014


Commit: 64f3774d6272d3071ed4d0bf90be2a6ca5a2e854
Author: Joshua Leung
Date:   Thu Apr 17 15:02:03 2014 +1200
https://developer.blender.org/rB64f3774d6272d3071ed4d0bf90be2a6ca5a2e854

Fix T39768: GLOBAL_X/Y/Z don't exist for bpy.ops.armature.calculate_roll type enum

===================================================================

M	source/blender/editors/armature/armature_edit.c

===================================================================

diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c
index 4e81430..24d941e 100644
--- a/source/blender/editors/armature/armature_edit.c
+++ b/source/blender/editors/armature/armature_edit.c
@@ -260,9 +260,9 @@ static EnumPropertyItem prop_calc_roll_types[] = {
 	{CALC_ROLL_TAN_X, "X", 0, "Local X Tangent", ""},
 	{CALC_ROLL_TAN_Z, "Z", 0, "Local Z Tangent", ""},
 
-	{CALC_ROLL_X, "X", 0, "Global X Axis", ""},
-	{CALC_ROLL_Y, "Y", 0, "Global Y Axis", ""},
-	{CALC_ROLL_Z, "Z", 0, "Global Z Axis", ""},
+	{CALC_ROLL_X, "GLOBAL_X", 0, "Global X Axis", ""},
+	{CALC_ROLL_Y, "GLOBAL_Y", 0, "Global Y Axis", ""},
+	{CALC_ROLL_Z, "GLOBAL_Z", 0, "Global Z Axis", ""},
 
 	{CALC_ROLL_ACTIVE, "ACTIVE", 0, "Active Bone", ""},
 	{CALC_ROLL_VIEW, "VIEW", 0, "View Axis", ""},




More information about the Bf-blender-cvs mailing list