Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_material_gpencil.py
| Context not available. | |||||
| gpcolor = ma.grease_pencil | gpcolor = ma.grease_pencil | ||||
| col = layout.column() | col = layout.column() | ||||
| col.active = not gpcolor.lock | col.enabled = not gpcolor.lock | ||||
| col.prop(gpcolor, "mode") | col.prop(gpcolor, "mode") | ||||
| Context not available. | |||||
| # color settings | # color settings | ||||
| col = layout.column() | col = layout.column() | ||||
| col.active = not gpcolor.lock | col.enabled = not gpcolor.lock | ||||
| col.prop(gpcolor, "fill_style", text="Style") | col.prop(gpcolor, "fill_style", text="Style") | ||||
| if gpcolor.fill_style == 'GRADIENT': | if gpcolor.fill_style == 'GRADIENT': | ||||
| Context not available. | |||||