2.5 - Changed the order in which constraints are defined in RNA to resemble the order...
authorJoshua Leung <aligorith@gmail.com>
Mon, 15 Jun 2009 11:36:22 +0000 (11:36 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 15 Jun 2009 11:36:22 +0000 (11:36 +0000)
source/blender/makesrna/intern/rna_constraint.c

index a98bc41d129b2eaf4cc78b047d2031975f929924..fd1a97ac3c658f4e3d42c97d3f5e726905452472 100644 (file)
 #include "WM_types.h"
 
 EnumPropertyItem constraint_type_items[] ={
-       {CONSTRAINT_TYPE_NULL, "NULL", "Null", ""},
        {CONSTRAINT_TYPE_CHILDOF, "CHILD_OF", "Child Of", ""},
-       {CONSTRAINT_TYPE_TRACKTO, "TRACK_TO", "Track To", ""},
-       {CONSTRAINT_TYPE_KINEMATIC, "IK", "IK", ""},
-       {CONSTRAINT_TYPE_FOLLOWPATH, "FOLLOW_PATH", "Follow Path", ""},
-       {CONSTRAINT_TYPE_ROTLIMIT, "LIMIT_ROTATION", "Limit Rotation", ""},
-       {CONSTRAINT_TYPE_LOCLIMIT, "LIMIT_LOCATION", "Limit Location", ""},
-       {CONSTRAINT_TYPE_SIZELIMIT, "LIMIT_SCALE", "Limit Scale", ""},
-       {CONSTRAINT_TYPE_ROTLIKE, "COPY_ROTATION", "Copy Rotation", ""},
+       {CONSTRAINT_TYPE_TRANSFORM, "TRANSFORM", "Transformation", ""},
+       
        {CONSTRAINT_TYPE_LOCLIKE, "COPY_LOCATION", "Copy Location", ""},
+       {CONSTRAINT_TYPE_ROTLIKE, "COPY_ROTATION", "Copy Rotation", ""},
        {CONSTRAINT_TYPE_SIZELIKE, "COPY_SCALE", "Copy Scale", ""},
-       {CONSTRAINT_TYPE_PYTHON, "SCRIPT", "Script", ""},
-       {CONSTRAINT_TYPE_ACTION, "ACTION", "Action", ""},
-       {CONSTRAINT_TYPE_LOCKTRACK, "LOCKED_TRACK", "Locked Track", ""},
+       
+       {CONSTRAINT_TYPE_LOCLIMIT, "LIMIT_LOCATION", "Limit Location", ""},
+       {CONSTRAINT_TYPE_ROTLIMIT, "LIMIT_ROTATION", "Limit Rotation", ""},
+       {CONSTRAINT_TYPE_SIZELIMIT, "LIMIT_SCALE", "Limit Scale", ""},
        {CONSTRAINT_TYPE_DISTLIMIT, "LIMIT_DISTANCE", "Limit Distance", ""},
-       {CONSTRAINT_TYPE_STRETCHTO, "STRETCH_TO", "Stretch To", ""},
+       
+       {CONSTRAINT_TYPE_TRACKTO, "TRACK_TO", "Track To", ""},
+       {CONSTRAINT_TYPE_LOCKTRACK, "LOCKED_TRACK", "Locked Track", ""},
+       
        {CONSTRAINT_TYPE_MINMAX, "FLOOR", "Floor", ""},
-       {CONSTRAINT_TYPE_RIGIDBODYJOINT, "RIGID_BODY_JOINT", "Rigid Body Joint", ""},
-       {CONSTRAINT_TYPE_CLAMPTO, "CLAMP_TO", "Clamp To", ""},
-       {CONSTRAINT_TYPE_TRANSFORM, "TRANSFORM", "Transformation", ""},
        {CONSTRAINT_TYPE_SHRINKWRAP, "SHRINKWRAP", "Shrinkwrap", ""},
+       {CONSTRAINT_TYPE_FOLLOWPATH, "FOLLOW_PATH", "Follow Path", ""},
+       
+       {CONSTRAINT_TYPE_CLAMPTO, "CLAMP_TO", "Clamp To", ""},
+       {CONSTRAINT_TYPE_STRETCHTO, "STRETCH_TO", "Stretch To", ""},
+       
+       {CONSTRAINT_TYPE_KINEMATIC, "IK", "IK", ""},
+       {CONSTRAINT_TYPE_RIGIDBODYJOINT, "RIGID_BODY_JOINT", "Rigid Body Joint", ""},
+       
+       {CONSTRAINT_TYPE_ACTION, "ACTION", "Action", ""},
+       
+       {CONSTRAINT_TYPE_PYTHON, "SCRIPT", "Script", ""},
+       
+       {CONSTRAINT_TYPE_NULL, "NULL", "Null", ""},
        {0, NULL, NULL, NULL}};