Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-01-11 22:11:11 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-11 22:14:37 +0300
commit1b18e0d8f625952fe68d907d37f8f06bfa2fc97f (patch)
tree0cc3fbec55c1b83fe1ab11c7bd29a5ff32cc577c
parentcd41570b553f8ac1db671d9d30e06bb8af460e37 (diff)
Fix syntax error breaking compile in GP code.
Seriously… Build your code before committing!!!
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c2
1 files changed, 2 insertions, 0 deletions
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)"));