* The button icon for jumping to the Render Layers tab of the Properties context is
now RENDERLAYERS. Previous icon BUTS was too general.
* Thickness position options are grayed out if not applicable. These options are applied
only when plain chaining is used with the Same Object option enabled.
row = layout.row()
row.label(text="Line style settings are in the Render Layers tab")
row = layout.row()
row.label(text="Line style settings are in the Render Layers tab")
- row.operator("wm.properties_context_change", text="", icon='BUTS').context = 'RENDER_LAYER'
+ row.operator("wm.properties_context_change", text="", icon='RENDERLAYERS').context = 'RENDER_LAYER'
# Render layer properties
# Render layer properties
row = col.row()
row.label(text="Base Thickness:")
row.prop(linestyle, "thickness")
row = col.row()
row.label(text="Base Thickness:")
row.prop(linestyle, "thickness")
+ subcol = col.column()
+ subcol.active = linestyle.chaining == 'PLAIN' and linestyle.use_same_object
+ row = subcol.row()
row.prop(linestyle, "thickness_position", expand=True)
row.prop(linestyle, "thickness_position", expand=True)
row.prop(linestyle, "thickness_ratio")
row.active = (linestyle.thickness_position == 'RELATIVE')
col = layout.column()
row.prop(linestyle, "thickness_ratio")
row.active = (linestyle.thickness_position == 'RELATIVE')
col = layout.column()