[Bf-blender-cvs] [1c9e898e8fd] master: GPencil: Cleanup code
Antonioya
noreply at git.blender.org
Wed Mar 13 17:42:45 CET 2019
Commit: 1c9e898e8fdd25bbc41400b6833d9d5ebe80b2d5
Author: Antonioya
Date: Wed Mar 13 17:42:29 2019 +0100
Branches: master
https://developer.blender.org/rB1c9e898e8fdd25bbc41400b6833d9d5ebe80b2d5
GPencil: Cleanup code
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list