Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-30 14:16:02 +0300
committerCampbell Barton <campbell@blender.org>2022-08-30 14:20:26 +0300
commitfdc332981e718bafab92d34816fdfa3d6e0a8556 (patch)
treeecfd60f2254d4418256cdd21b5ec1fea1f7b8182 /intern/cycles/blender
parente0ab4b29a9c7dfc42751a524db9b948b0636b288 (diff)
Cleanup: simplify comparison, clarify comment
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r--intern/cycles/blender/addon/ui.py2
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")