Fix Cycles scrambling distance incorrectly showing as enabled for Sobol-Burley

Contributed by Alaska.

Differential Revision: https://developer.blender.org/D15849
This commit is contained in:
Brecht Van Lommel
2022-09-02 17:35:30 +02:00
parent aa174f632e
commit 4bbbba5bc2

View File

@@ -305,7 +305,7 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel):
layout.separator()
heading = layout.column(align=True, heading="Scrambling Distance")
heading.active = cscene.sampling_pattern != 'SOBOL_BURLEY'
heading.active = cscene.sampling_pattern != 'SOBOL'
heading.prop(cscene, "auto_scrambling_distance", text="Automatic")
heading.prop(cscene, "preview_scrambling_distance", text="Viewport")
heading.prop(cscene, "scrambling_distance", text="Multiplier")