diff options
Diffstat (limited to 'intern/cycles/blender/sync.cpp')
-rw-r--r-- | intern/cycles/blender/sync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/sync.cpp b/intern/cycles/blender/sync.cpp index 92662e37bc2..43625a2e479 100644 --- a/intern/cycles/blender/sync.cpp +++ b/intern/cycles/blender/sync.cpp @@ -365,8 +365,8 @@ void BlenderSync::sync_integrator(BL::ViewLayer &b_view_layer, bool background) int samples = get_int(cscene, "samples"); float scrambling_distance = get_float(cscene, "scrambling_distance"); - bool adaptive_scrambling_distance = get_boolean(cscene, "adaptive_scrambling_distance"); - if (adaptive_scrambling_distance) { + bool auto_scrambling_distance = get_boolean(cscene, "auto_scrambling_distance"); + if (auto_scrambling_distance) { scrambling_distance *= 4.0f / sqrtf(samples); } |