[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32681] trunk/blender: rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used like this much elsewhere in rna.

Campbell Barton ideasman42 at gmail.com
Sun Oct 24 10:06:22 CEST 2010


Revision: 32681
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32681
Author:   campbellbarton
Date:     2010-10-24 10:06:19 +0200 (Sun, 24 Oct 2010)

Log Message:
-----------
rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used like this much elsewhere in rna.

Modified Paths:
--------------
    trunk/blender/release/scripts/op/animsys_update.py
    trunk/blender/release/scripts/ui/properties_data_bone.py
    trunk/blender/source/blender/makesrna/intern/rna_armature.c

Modified: trunk/blender/release/scripts/op/animsys_update.py
===================================================================
--- trunk/blender/release/scripts/op/animsys_update.py	2010-10-24 07:57:13 UTC (rev 32680)
+++ trunk/blender/release/scripts/op/animsys_update.py	2010-10-24 08:06:19 UTC (rev 32681)
@@ -367,7 +367,7 @@
     ("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"),

Modified: trunk/blender/release/scripts/ui/properties_data_bone.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_bone.py	2010-10-24 07:57:13 UTC (rev 32680)
+++ trunk/blender/release/scripts/ui/properties_data_bone.py	2010-10-24 08:06:19 UTC (rev 32681)
@@ -163,7 +163,7 @@
         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)

Modified: trunk/blender/source/blender/makesrna/intern/rna_armature.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_armature.c	2010-10-24 07:57:13 UTC (rev 32680)
+++ trunk/blender/source/blender/makesrna/intern/rna_armature.c	2010-10-24 08:06:19 UTC (rev 32681)
@@ -414,7 +414,7 @@
 	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");





More information about the Bf-blender-cvs mailing list