[Bf-blender-cvs] [d07dab0d612] master: Fix T76225: Cycles View layer filters are grayed out while still working

Philipp Oeser noreply at git.blender.org
Wed Apr 29 19:32:35 CEST 2020


Commit: d07dab0d612614998a40e543a19b1f755a8f12a4
Author: Philipp Oeser
Date:   Wed Apr 29 12:53:38 2020 +0200
Branches: master
https://developer.blender.org/rBd07dab0d612614998a40e543a19b1f755a8f12a4

Fix T76225: Cycles View layer filters are grayed out while still working

Mistake in rB7fc60bff14a6.

Maniphest Tasks: T76225

Differential Revision: https://developer.blender.org/D7566

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

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

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

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 92f0a8fb830..9c125f7fc9e 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -770,8 +770,9 @@ class CYCLES_RENDER_PT_filter(CyclesButtonsPanel, Panel):
         col.prop(view_layer, "use_strand", text="Hair")
         col.prop(view_layer, "use_volumes", text="Volumes")
         if with_freestyle:
-            col.prop(view_layer, "use_freestyle", text="Freestyle")
-            col.active = rd.use_freestyle
+            sub = col.row(align=True)
+            sub.prop(view_layer, "use_freestyle", text="Freestyle")
+            sub.active = rd.use_freestyle
 
 
 class CYCLES_RENDER_PT_override(CyclesButtonsPanel, Panel):



More information about the Bf-blender-cvs mailing list