From 1b18e0d8f625952fe68d907d37f8f06bfa2fc97f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 11 Jan 2019 20:11:11 +0100 Subject: Fix syntax error breaking compile in GP code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Seriously… Build your code before committing!!! --- source/blender/editors/gpencil/gpencil_paint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 16e154b0289..e115e415d95 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -2489,6 +2489,7 @@ static void gpencil_draw_status_indicators(bContext *C, tGPsdata *p) "Esc/RMB to cancel")); break; case GP_PAINTMODE_DRAW: + { GP_Sculpt_Guide *guide = &p->scene->toolsettings->gp_sculpt.guide; if (guide->use_guide) { ED_workspace_status_text(C, IFACE_("Grease Pencil Freehand Session: Hold and drag LMB to draw | " @@ -2498,6 +2499,7 @@ static void gpencil_draw_status_indicators(bContext *C, tGPsdata *p) ED_workspace_status_text(C, IFACE_("Grease Pencil Freehand Session: Hold and drag LMB to draw")); } 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)")); -- cgit v1.2.3