svn merge -r 17502:18705 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / render / intern / source / shadeinput.c
index 5bf2f58ae4e92e9fa2b4ce37500adeb8f84a8588..294175460bff7c1f3ac4124a9999cd4779452605 100644 (file)
@@ -362,7 +362,7 @@ void shade_input_set_strand(ShadeInput *shi, StrandRen *strand, StrandPoint *spo
                Normalize(shi->vn);
 
                if(INPR(shi->vn, shi->view) < 0.0f)
-                       VecMulf(shi->vn, -1.0f);
+                       VecNegf(shi->vn);
        }
 
        VECCOPY(shi->vno, shi->vn);