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
diff options
context:
space:
mode:
authorJoseph Gilbert <ascotan@gmail.com>2007-03-02 00:30:48 +0300
committerJoseph Gilbert <ascotan@gmail.com>2007-03-02 00:30:48 +0300
commit585edac6d2ef35f9199940e9d45aaef412860e45 (patch)
tree7dffb1a303879a5d523d4ba592d310941379780b /source/blender/python/api2_2x/Constraint.c
parentccefcc8a79c1f200feecef6e11ba516953b7b5e2 (diff)
various warnings fixes - mostly casting and initialization issues
Diffstat (limited to 'source/blender/python/api2_2x/Constraint.c')
-rw-r--r--source/blender/python/api2_2x/Constraint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Constraint.c b/source/blender/python/api2_2x/Constraint.c
index 601fc895992..d95a2e1e9a9 100644
--- a/source/blender/python/api2_2x/Constraint.c
+++ b/source/blender/python/api2_2x/Constraint.c
@@ -466,9 +466,9 @@ static int kinematic_setter( BPy_Constraint *self, int type, PyObject *value )
case EXPP_CONSTR_CHAINLEN:
return EXPP_setIValueClamped( value, &con->rootbone, 0, 255, 'i' );
case EXPP_CONSTR_POSWEIGHT:
- return EXPP_setFloatClamped( value, &con->weight, 0.01, 1.0 );
+ return EXPP_setFloatClamped( value, &con->weight, 0.01f, 1.0 );
case EXPP_CONSTR_ROTWEIGHT:
- return EXPP_setFloatClamped( value, &con->orientweight, 0.01, 1.0 );
+ return EXPP_setFloatClamped( value, &con->orientweight, 0.01f, 1.0 );
case EXPP_CONSTR_ROTATE:
return EXPP_setBitfield( value, &con->flag, CONSTRAINT_IK_ROT, 'h' );
case EXPP_CONSTR_USETIP: