Make sure separation between modifier keys is communicated from GHOST upwards too...
[blender-staging.git] / source / blender / blenkernel / intern / customdata.c
index 3eec761169729c1a27e36120a62ab73c859710fe..9c4f0d790cab0c04c11f44eda066c4a49f59c161 100644 (file)
@@ -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 */