[Bf-blender-cvs] [1d15e9c3c63] cycles-x: Fix wrong behavior with Show Active Pixels after recent UI change

Brecht Van Lommel noreply at git.blender.org
Mon Sep 6 20:14:46 CEST 2021


Commit: 1d15e9c3c6385022a87b4b884da06ed3bb54d854
Author: Brecht Van Lommel
Date:   Mon Sep 6 20:06:30 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB1d15e9c3c6385022a87b4b884da06ed3bb54d854

Fix wrong behavior with Show Active Pixels after recent UI change

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

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

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

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index ec04be2aa22..5f0f62a1263 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1938,7 +1938,7 @@ class CYCLES_VIEW3D_PT_shading_debug(CyclesDebugButtonsPanel,
         shading = context.space_data.shading
 
         layout = self.layout
-        layout.active = context.scene.cycles.use_adaptive_sampling
+        layout.active = context.scene.cycles.use_preview_adaptive_sampling
         layout.prop(shading.cycles, "show_active_pixels")



More information about the Bf-blender-cvs mailing list