diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-13 19:42:29 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-13 19:42:41 +0300 |
commit | 1c9e898e8fdd25bbc41400b6833d9d5ebe80b2d5 (patch) | |
tree | baedf1014058b85e726f10d86788fcdbf024fdf0 | |
parent | 4e171975979039a22f57b852447811b07a48d43b (diff) |
GPencil: Cleanup code
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 7429c142ec4..50a7d9d8703 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -2471,7 +2471,6 @@ static void gpencil_draw_cursor_set(tGPsdata *p) } else { WM_cursor_modal_set(p->win, CURSOR_NONE); - } } @@ -2480,25 +2479,6 @@ static void gpencil_draw_status_indicators(bContext *C, tGPsdata *p) { /* header prints */ switch (p->status) { - -#if 0 /* FIXME, this never runs! */ - switch (p->paintmode) { - case GP_PAINTMODE_DRAW_POLY: - /* Provide usage tips, since this is modal, and unintuitive without hints */ - ED_workspace_status_text( - C, IFACE_( - "Annotation Create Poly: LMB click to place next stroke vertex | " - "ESC/Enter to end (or click outside this area)" - )); - break; - default: - /* Do nothing - the others are self explanatory, exit quickly once the mouse is released - * Showing any text would just be annoying as it would flicker. - */ - break; - } -#endif - case GP_STATUS_IDLING: { /* print status info */ |