svn merge -r 17502:18705 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / blenkernel / intern / effect.c
index f91a99accef3c116b082b27ceb0c6b6d62949073..b5d3213ac0adccc971856560343e9ef4c6a1521f 100644 (file)
@@ -251,7 +251,7 @@ static float eff_calc_visibility(Object *ob, float *co, float *dir)
                return 0;
        
        VECCOPY(norm, dir);
-       VecMulf(norm, -1.0);
+       VecNegf(norm);
        len = Normalize(norm);
        
        // check all collision objects