Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| elif ob.mode == 'WEIGHT_GPENCIL': | elif ob.mode == 'WEIGHT_GPENCIL': | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.active = settings.show_brush | col.active = settings.show_brush | ||||
| col.prop(brush, "cursor_color_add", text="Cursor Color") | col.prop(brush, "cursor_color_add", text="Cursor Color") | ||||
| elif ob.mode == 'VERTEX_GPENCIL': | elif ob.mode == 'VERTEX_GPENCIL': | ||||
| row = layout.row(align=True) | row = layout.row(align=True) | ||||
| row.prop(settings, "show_brush", text="") | row.prop(settings, "show_brush", text="Display Cursor") | ||||
| row.label(text="Display Cursor") | |||||
| class GreasePencilBrushFalloff: | class GreasePencilBrushFalloff: | ||||
| bl_label = "Falloff" | bl_label = "Falloff" | ||||
| bl_options = {'DEFAULT_CLOSED'} | bl_options = {'DEFAULT_CLOSED'} | ||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||