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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-24 16:45:47 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-24 16:45:47 +0400
commit715fa82769a2d239bdf73701719ae354ca527c59 (patch)
tree1563f780591947249d994526c9086cc99df290bf /source/blender/modifiers
parent989a610fc8a7af6ae8fa65695278d69faf93a898 (diff)
Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index b71249880a6..668f0a086d1 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -212,8 +212,9 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
float totlen = len_v3(mtx_tx[3]);
if(totlen != 0.0f) {
+ float zero[3]={0.0f, 0.0f, 0.0f};
float cp[3];
- screw_ofs= closest_to_line_v3(cp, mtx_tx[3], (float []){0,0,0}, axis_vec);
+ screw_ofs= closest_to_line_v3(cp, mtx_tx[3], zero, axis_vec);
}
else {
screw_ofs= 0.0f;