UI / Freestyle:

* Properties, which depend on an enum should be hidden, not greyed out.
This commit is contained in:
Thomas Dinges 2013-06-08 17:10:17 +00:00
parent e21db5cd23
commit d314600cd2

@ -56,9 +56,8 @@ class RENDER_PT_freestyle(RenderFreestyleButtonsPanel, Panel):
row.label(text="Line Thickness:") row.label(text="Line Thickness:")
row.prop(rd, "line_thickness_mode", expand=True) row.prop(rd, "line_thickness_mode", expand=True)
row = layout.row() if (rd.line_thickness_mode == 'ABSOLUTE'):
row.active = (rd.line_thickness_mode == 'ABSOLUTE') layout.prop(rd, "line_thickness")
row.prop(rd, "line_thickness")
row = layout.row() row = layout.row()
row.label(text="Line style settings are found in the Render Layers context") row.label(text="Line style settings are found in the Render Layers context")