merge with trunk at r27259 and commit of a patch by anthony jones to fix msvc (though...
[blender-staging.git] / source / blender / editors / space_view3d / view3d_view.c
index 1674c13500811f13a6e0f5e48e6e456ee57d8543..759a7ce08b853481133ff499897aeedc4d4d2dfe 100644 (file)
@@ -704,8 +704,8 @@ void view3d_project_float(ARegion *ar, float *vec, float *adr, float mat[4][4])
 {
        float vec4[4];
        
-       adr[0]= IS_CLIPPED;
        VECCOPY(vec4, vec);
+       adr[0]= IS_CLIPPED;
        vec4[3]= 1.0;
        
        mul_m4_v4(mat, vec4);