rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 24 Oct 2010 08:06:19 +0000 (08:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 24 Oct 2010 08:06:19 +0000 (08:06 +0000)
release/scripts/op/animsys_update.py
release/scripts/ui/properties_data_bone.py
source/blender/makesrna/intern/rna_armature.c

index 7392030f62ea29bde92f9de0405ffdd2262e30be..41ad65b1d71b4e041d898462c1b5e708d4dcb508 100644 (file)
@@ -367,7 +367,7 @@ data_path_update = [
     ("PoseBone", "ik_limit_z", "use_ik_limit_z"),
     ("PoseBone", "ik_lin_control", "use_ik_linear_control"),
     ("PoseBone", "ik_rot_control", "use_ik_rotation_control"),
-    ("Bone", "use_hinge", "use_inherit_rotate"),
+    ("Bone", "use_hinge", "use_inherit_rotation"),
     ("SPHFluidSettings", "spring_k", "spring_force"),
     ("SPHFluidSettings", "stiffness_k", "stiffness"),
     ("SPHFluidSettings", "stiffness_knear", "stiffness_near"),
index a9defd7217f7c591b5845c23224e729c160cbc1e..9a98e8c05447fd645cfcecb63ee685b837fde81a 100644 (file)
@@ -163,7 +163,7 @@ class BONE_PT_relations(BoneButtonsPanel, bpy.types.Panel):
         sub = col.column()
         sub.active = (bone.parent is not None)
         sub.prop(bone, "use_connect")
-        sub.prop(bone, "use_inherit_rotate", text="Inherit Rotation")
+        sub.prop(bone, "use_inherit_rotation", text="Inherit Rotation")
         sub.prop(bone, "use_inherit_scale", text="Inherit Scale")
         sub = col.column()
         sub.active = (not bone.parent or not bone.use_connect)
index ad1d8d3bf7f85f2c3991a13d90f9f971f84e6f0c..25ac6f5e558dee0e660e8028f3a596322b1367cf 100644 (file)
@@ -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_inherit_rotate", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_inherit_rotation", 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");