Freestyle: show "use_nodes" option in the UI when Cycles is enabled.
The "use_textures" option is intended for the BI and does not make sense in Cycles.
This commit is contained in:
parent
83360eccae
commit
7f3488f992
|
@ -674,7 +674,10 @@ class RENDERLAYER_PT_freestyle_linestyle(RenderLayerFreestyleEditorButtonsPanel,
|
|||
layout.separator()
|
||||
|
||||
row = layout.row()
|
||||
row.prop(linestyle, "use_texture")
|
||||
if rd.use_shading_nodes:
|
||||
row.prop(linestyle, "use_nodes")
|
||||
else:
|
||||
row.prop(linestyle, "use_texture")
|
||||
row.prop(linestyle, "texture_spacing", text="Spacing Along Stroke")
|
||||
|
||||
row = layout.row()
|
||||
|
|
Loading…
Reference in New Issue