[Bf-blender-cvs] [ba347d7c9e4] master: Fix Cycles UI for Scrambling Distance, only works with Tabulated Sobol.

Thomas Dinges noreply at git.blender.org
Thu Dec 15 10:48:34 CET 2022


Commit: ba347d7c9e4ae53d98cce1231fc919591b3c5d81
Author: Thomas Dinges
Date:   Thu Dec 15 10:44:56 2022 +0100
Branches: master
https://developer.blender.org/rBba347d7c9e4ae53d98cce1231fc919591b3c5d81

Fix Cycles UI for Scrambling Distance, only works with Tabulated Sobol.

Thanks to Alaska for finding this.

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

M	intern/cycles/blender/addon/ui.py

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

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index d45d7afb16f..6ac97a32f61 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -370,7 +370,7 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel):
         layout.separator()
 
         heading = layout.column(align=True, heading="Scrambling Distance")
-        heading.active = cscene.sampling_pattern != 'TABULATED_SOBOL'
+        heading.active = cscene.sampling_pattern == 'TABULATED_SOBOL'
         heading.prop(cscene, "auto_scrambling_distance", text="Automatic")
         heading.prop(cscene, "preview_scrambling_distance", text="Viewport")
         heading.prop(cscene, "scrambling_distance", text="Multiplier")



More information about the Bf-blender-cvs mailing list