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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-23 14:06:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-23 14:06:40 +0400
commit563e3c94052aab05ae20e85951cbd86acbb02819 (patch)
tree5286956b1b541c7566350f721225703287b74eda /source
parentf4415ce84a71964d90c53dfe8f219444e78e80aa (diff)
rename rna property Bone.use_hinge to use_inherit_rotate because use_hinge was inverted - Enabled by default but not a hinge.
this also matches 'use_inherit_scale'
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_armature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index d42cf625898..ad1d8d3bf7f 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -414,7 +414,7 @@ static void rna_def_bone_common(StructRNA *srna, int editbone)
RNA_def_property_ui_text(prop, "Connected", "When bone has a parent, bone's head is struck to the parent's tail");
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
- prop= RNA_def_property(srna, "use_hinge", PROP_BOOLEAN, PROP_NONE);
+ prop= RNA_def_property(srna, "use_inherit_rotate", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_HINGE);
RNA_def_property_ui_text(prop, "Inherit Rotation", "Bone inherits rotation or scale from parent bone");
RNA_def_property_update(prop, 0, "rna_Armature_update_data");