Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Newton <TFS>2019-03-13 16:44:56 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-13 16:47:18 +0300
commiteb1580961a850a0723d8f306ca9c843686273b86 (patch)
treef3ded69cebcf77d9400c1bdc408046ba23bbe49b /source/blender/makesrna/intern/rna_constraint.c
parentffa29194bbe71147871cf2948ae0f1eea3a4558b (diff)
UI: put Armature constraint in alphabetical order in the menu.
Differential Revision: https://developer.blender.org/D4492
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r--source/blender/makesrna/intern/rna_constraint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index c08a1e0128c..b50daff4ac8 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -88,6 +88,8 @@ const EnumPropertyItem rna_enum_constraint_type_items[] = {
{0, "", 0, N_("Relationship"), ""},
{CONSTRAINT_TYPE_ACTION, "ACTION", ICON_CONSTRAINT, "Action",
"Use transform property of target to look up pose for owner from an Action"},
+ {CONSTRAINT_TYPE_ARMATURE, "ARMATURE", ICON_CONSTRAINT, "Armature",
+ "Apply weight-blended transformation from multiple bones like the Armature modifier"},
{CONSTRAINT_TYPE_CHILDOF, "CHILD_OF", ICON_CONSTRAINT, "Child Of",
"Make target the 'detachable' parent of owner"},
{CONSTRAINT_TYPE_MINMAX, "FLOOR", ICON_CONSTRAINT, "Floor",
@@ -102,8 +104,6 @@ const EnumPropertyItem rna_enum_constraint_type_items[] = {
"Custom constraint(s) written in Python (Not yet implemented)"}, */
{CONSTRAINT_TYPE_SHRINKWRAP, "SHRINKWRAP", ICON_CONSTRAINT, "Shrinkwrap",
"Restrict movements to surface of target mesh"},
- {CONSTRAINT_TYPE_ARMATURE, "ARMATURE", ICON_CONSTRAINT, "Armature",
- "Apply weight-blended transformation from multiple bones like the Armature modifier"},
{0, NULL, 0, NULL, NULL},
};