[Bf-blender-cvs] [8ee2af5fac5] cycles-x: Fix Fast GI settings not grayed out when the option is disabled

Brecht Van Lommel noreply at git.blender.org
Tue Sep 7 15:49:14 CEST 2021


Commit: 8ee2af5fac56957910969f438b0c5a9f3b6359ed
Author: Brecht Van Lommel
Date:   Tue Sep 7 15:48:13 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB8ee2af5fac56957910969f438b0c5a9f3b6359ed

Fix Fast GI settings not grayed out when the option is disabled

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

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

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

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index f1a16e96084..d02627b9936 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -453,6 +453,8 @@ class CYCLES_RENDER_PT_light_paths_fast_gi(CyclesButtonsPanel, Panel):
         layout.use_property_split = True
         layout.use_property_decorate = False
 
+        layout.active = cscene.use_fast_gi
+
         col = layout.column(align=True)
         col.prop(cscene, "ao_bounces", text="Viewport Bounces")
         col.prop(cscene, "ao_bounces_render", text="Render Bounces")



More information about the Bf-blender-cvs mailing list