diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-12 10:36:00 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-12 10:36:00 +0300 |
commit | 5e356cc5c89b96a1d66764501116487f1966e8e4 (patch) | |
tree | 2902d917441e96d07427780e137ee2673115ff2c /source/blender/editors | |
parent | ce3475f747943e031a0f3d99083a959e644530c9 (diff) |
GP: Cleanup missing brackets
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index b6b70ff3dfd..b138fa8a0d2 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -2474,20 +2474,27 @@ static void gpencil_draw_status_indicators(bContext *C, tGPsdata *p) #endif case GP_STATUS_IDLING: + { /* print status info */ switch (p->paintmode) { case GP_PAINTMODE_ERASER: + { ED_workspace_status_text(C, IFACE_("Grease Pencil Erase Session: Hold and drag LMB or RMB to erase | " "ESC/Enter to end (or click outside this area)")); break; + } case GP_PAINTMODE_DRAW_STRAIGHT: + { ED_workspace_status_text(C, IFACE_("Grease Pencil Line Session: Hold and drag LMB to draw | " "ESC/Enter to end (or click outside this area)")); break; + } case GP_PAINTMODE_SET_CP: + { ED_workspace_status_text(C, IFACE_("Grease Pencil Guides: LMB click and release to place reference point | " "Esc/RMB to cancel")); break; + } case GP_PAINTMODE_DRAW: { GP_Sculpt_Guide *guide = &p->scene->toolsettings->gp_sculpt.guide; @@ -2501,21 +2508,26 @@ static void gpencil_draw_status_indicators(bContext *C, tGPsdata *p) break; } case GP_PAINTMODE_DRAW_POLY: + { ED_workspace_status_text(C, IFACE_("Grease Pencil Poly Session: LMB click to place next stroke vertex | " "Release Shift/ESC/Enter to end (or click outside this area)")); break; - + } default: /* unhandled future cases */ + { ED_workspace_status_text(C, IFACE_("Grease Pencil Session: ESC/Enter to end (or click outside this area)")); break; + } } break; - + } case GP_STATUS_ERROR: case GP_STATUS_DONE: + { /* clear status string */ ED_workspace_status_text(C, NULL); break; + } case GP_STATUS_PAINTING: break; } |