Patch from Banlu Kemiyatorn
[blender.git] / source / blender / radiosity / intern / source / radfactors.c
index ba4dbf1b79300bcad2a458aad97af379bf7c0aaf..d5b7c1caef3ab035b9c51d1b4639de6ad832bc52 100644 (file)
@@ -535,10 +535,10 @@ void progressiverad()
 
                if(shoot->first->f & RAD_TWOSIDED) {
                        VECCOPY(unshot, shoot->unshot);
-                       VecMulf(shoot->norm, -1.0);
+                       VecNegf(shoot->norm);
                        if(makeformfactors(shoot))
                                applyformfactors(shoot);
-                       VecMulf(shoot->norm, -1.0);
+                       VecNegf(shoot->norm);
                        VECCOPY(shoot->unshot, unshot);
                }