diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-24 16:45:47 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-24 16:45:47 +0400 |
commit | 715fa82769a2d239bdf73701719ae354ca527c59 (patch) | |
tree | 1563f780591947249d994526c9086cc99df290bf /source/blender/blenkernel/intern/customdata.c | |
parent | 989a610fc8a7af6ae8fa65695278d69faf93a898 (diff) |
Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 3eec7611697..9c4f0d790ca 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -502,7 +502,8 @@ static void layerInterp_mdisps(void **UNUSED(sources), float *UNUSED(weights), /* Initialize the destination */ for(i = 0; i < d->totdisp; ++i) { - zero_v3(d->disps[i]); + float z[3] = {0,0,0}; + copy_v3_v3(d->disps[i], z); } /* For now, some restrictions on the input */ |