Bugfix [#26312] Wrong text in a button in the Stretch to constraint
authorJoshua Leung <aligorith@gmail.com>
Fri, 4 Mar 2011 06:34:41 +0000 (06:34 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 4 Mar 2011 06:34:41 +0000 (06:34 +0000)
This looks like a simple Copy+Paste typo

source/blender/makesrna/intern/rna_constraint.c

index 852e416de0893344407fa440d1e1668c5dcb8d9a..0c6eef3ee246ccc52f978e680b9f4144e609aec7 100644 (file)
@@ -1122,7 +1122,7 @@ static void rna_def_constraint_stretch_to(BlenderRNA *brna)
 
        static EnumPropertyItem volume_items[] = {
                {VOLUME_XZ, "VOLUME_XZX", 0, "XZ", ""},
 
        static EnumPropertyItem volume_items[] = {
                {VOLUME_XZ, "VOLUME_XZX", 0, "XZ", ""},
-               {VOLUME_X, "VOLUME_X", 0, "Y", ""},
+               {VOLUME_X, "VOLUME_X", 0, "X", ""},
                {VOLUME_Z, "VOLUME_Z", 0, "Z", ""},
                {NO_VOLUME, "NO_VOLUME", 0, "None", ""},
                {0, NULL, 0, NULL, NULL}};
                {VOLUME_Z, "VOLUME_Z", 0, "Z", ""},
                {NO_VOLUME, "NO_VOLUME", 0, "None", ""},
                {0, NULL, 0, NULL, NULL}};