forked from bartvdbraak/blender
Additional UI tweaking: the Freestyle toggle of the Include section in the Layers
panel is greyed out when Freestyle is globally disabled.
This commit is contained in:
parent
b8e68c08cb
commit
6dfa160109
@ -104,7 +104,9 @@ class RENDERLAYER_PT_layer_options(RenderLayerButtonsPanel, Panel):
|
||||
col = split.column()
|
||||
col.prop(rl, "use_edge_enhance")
|
||||
col.prop(rl, "use_strand")
|
||||
col.prop(rl, "use_freestyle")
|
||||
row = col.row()
|
||||
row.prop(rl, "use_freestyle")
|
||||
row.active = rd.use_freestyle
|
||||
|
||||
|
||||
class RENDERLAYER_PT_layer_passes(RenderLayerButtonsPanel, Panel):
|
||||
|
Loading…
Reference in New Issue
Block a user