From eb1580961a850a0723d8f306ca9c843686273b86 Mon Sep 17 00:00:00 2001 From: Adrian Newton Date: Wed, 13 Mar 2019 14:44:56 +0100 Subject: UI: put Armature constraint in alphabetical order in the menu. Differential Revision: https://developer.blender.org/D4492 --- source/blender/makesrna/intern/rna_constraint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_constraint.c') 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}, }; -- cgit v1.2.3