diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-30 14:16:02 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-30 14:20:26 +0300 |
commit | fdc332981e718bafab92d34816fdfa3d6e0a8556 (patch) | |
tree | ecfd60f2254d4418256cdd21b5ec1fea1f7b8182 /intern | |
parent | e0ab4b29a9c7dfc42751a524db9b948b0636b288 (diff) |
Cleanup: simplify comparison, clarify comment
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 5f17b99858a..eb89e76dc75 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -305,7 +305,7 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel): layout.separator() heading = layout.column(align=True, heading="Scrambling Distance") - heading.active = not cscene.sampling_pattern == 'SOBOL_BURLEY' + heading.active = cscene.sampling_pattern != 'SOBOL_BURLEY' heading.prop(cscene, "auto_scrambling_distance", text="Automatic") heading.prop(cscene, "preview_scrambling_distance", text="Viewport") heading.prop(cscene, "scrambling_distance", text="Multiplier") |