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/vector.c
parentccefcc8a79c1f200feecef6e11ba516953b7b5e2 (diff)
various warnings fixes - mostly casting and initialization issues
Diffstat (limited to 'source/blender/python/api2_2x/vector.c')
-rw-r--r--source/blender/python/api2_2x/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/vector.c b/source/blender/python/api2_2x/vector.c
index 8b5351ca9c3..537a82c0a86 100644
--- a/source/blender/python/api2_2x/vector.c
+++ b/source/blender/python/api2_2x/vector.c
@@ -1061,7 +1061,7 @@ static int Vector_setLength( VectorObject * self, PyObject * value )
dot= dot/param;
for(i = 0; i < self->size; i++){
- self->vec[i]= self->vec[i] / dot;
+ self->vec[i]= self->vec[i] / (float)dot;
}
return 0;