From 10789c53290eb004ba2f254d200dcfff8dbf107e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 27 Oct 2021 16:36:56 +0200 Subject: Cycles: tweak scrambling distance UI grouping, and improve tooltip --- intern/cycles/blender/addon/ui.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'intern/cycles/blender/addon/ui.py') diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index a0bf6c1758f..0c9179b4ccf 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -289,13 +289,16 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel): col = layout.column(align=True) col.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) col.prop(cscene, "sampling_pattern", text="Pattern") + + layout.separator() + col = layout.column(align=True) col.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) - col.prop(cscene, "scrambling_distance", text="Scrambling Distance Strength") - col.prop(cscene, "adaptive_scrambling_distance", text="Adaptive Scrambling Distance") - col = layout.column(align=True) - col.active = not cscene.use_preview_adaptive_sampling - col.prop(cscene, "preview_scrambling_distance", text="Viewport Scrambling Distance") + col.prop(cscene, "scrambling_distance", text="Scrambling Distance") + col.prop(cscene, "adaptive_scrambling_distance", text="Adaptive") + sub = col.row(align=True) + sub.active = not cscene.use_preview_adaptive_sampling + sub.prop(cscene, "preview_scrambling_distance", text="Viewport") layout.separator() -- cgit v1.2.3