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>2005-09-26 18:46:14 +0400
committerJoseph Gilbert <ascotan@gmail.com>2005-09-26 18:46:14 +0400
commitb6ecdb8c354233c33dcd1282ddf8bc7e68120c37 (patch)
tree77db145a7d4c931584012ba23832960bb194ca47 /source/blender/python/api2_2x/Key.c
parent577456f86af8fc3390a274da7e28281fff0fe43f (diff)
Project file update for elbeem
Warning clean up of python project
Diffstat (limited to 'source/blender/python/api2_2x/Key.c')
-rw-r--r--source/blender/python/api2_2x/Key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c
index 997d4e36400..543b8d80e33 100644
--- a/source/blender/python/api2_2x/Key.c
+++ b/source/blender/python/api2_2x/Key.c
@@ -295,9 +295,9 @@ static PyObject *KeyBlock_getData( PyObject * self )
mv->co[0]=vert->co[0];
mv->co[1]=vert->co[1];
mv->co[2]=vert->co[2];
- mv->no[0] = vert->no[0] / 32767.0;
- mv->no[1] = vert->no[1] / 32767.0;
- mv->no[2] = vert->no[2] / 32767.0;
+ mv->no[0] = (float)(vert->no[0] / 32767.0);
+ mv->no[1] = (float)(vert->no[1] / 32767.0);
+ mv->no[2] = (float)(vert->no[2] / 32767.0);
mv->uvco[0] = mv->uvco[1] = mv->uvco[2] = 0.0;
mv->index = i;