diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-04-29 13:53:38 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-04-29 20:25:17 +0300 |
commit | d07dab0d612614998a40e543a19b1f755a8f12a4 (patch) | |
tree | 3b7250156ad7ebf836525206ca008b1d6867ba0e /intern/cycles | |
parent | 7f5367eaae873675168fc1603953beaf6ec1279c (diff) |
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
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
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): |