[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24855] trunk/blender/source/blender/ makesrna/intern/rna_constraint.c: Spline IK Bugfix:

Joshua Leung aligorith at gmail.com
Tue Nov 24 10:55:44 CET 2009


Revision: 24855
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24855
Author:   aligorith
Date:     2009-11-24 10:55:41 +0100 (Tue, 24 Nov 2009)

Log Message:
-----------
Spline IK Bugfix:
"Y Stretch" option was broken in UI due to mismatch between RNA and scripts.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_constraint.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_constraint.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_constraint.c	2009-11-24 09:46:53 UTC (rev 24854)
+++ trunk/blender/source/blender/makesrna/intern/rna_constraint.c	2009-11-24 09:55:41 UTC (rev 24855)
@@ -1718,7 +1718,7 @@
 	RNA_def_property_ui_text(prop, "Even Divisions", "Ignore the relative lengths of the bones when fitting to the curve.");
 	RNA_def_property_update(prop, NC_OBJECT|ND_CONSTRAINT, "rna_Constraint_update");
 	
-	prop= RNA_def_property(srna, "y_streching", PROP_BOOLEAN, PROP_NONE);
+	prop= RNA_def_property(srna, "y_stretch", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CONSTRAINT_SPLINEIK_SCALE_LIMITED);
 	RNA_def_property_ui_text(prop, "Y Stretch", "Stretch the Y axis of the bones to fit the curve.");
 	RNA_def_property_update(prop, NC_OBJECT|ND_CONSTRAINT, "rna_Constraint_update");





More information about the Bf-blender-cvs mailing list