[Bf-blender-cvs] [918a1d0b73] soc-2016-cycles_denoising: Cycles Denoising: Fix wrong argument order that caused massive overblurring

Lukas Stockner noreply at git.blender.org
Fri Feb 10 18:10:39 CET 2017


Commit: 918a1d0b73704befd77f5525a63e2b0de3043547
Author: Lukas Stockner
Date:   Fri Feb 10 05:55:46 2017 +0100
Branches: soc-2016-cycles_denoising
https://developer.blender.org/rB918a1d0b73704befd77f5525a63e2b0de3043547

Cycles Denoising: Fix wrong argument order that caused massive overblurring

===================================================================

M	intern/cycles/device/device_cpu.cpp

===================================================================

diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 4c12556bf2..a968bb04f6 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -328,8 +328,8 @@ public:
 			                                    (float*) variance_ptr,
 			                                    difference,
 			                                    local_rect,
-			                                    0,
-			                                    w, a, k_2);
+			                                    w, 0,
+			                                    a, k_2);
 
 			filter_nlm_blur_kernel()       (difference, blurDifference, local_rect, w, f);
 			filter_nlm_calc_weight_kernel()(blurDifference, difference, local_rect, w, f);




More information about the Bf-blender-cvs mailing list