[Bf-blender-cvs] [1b18e0d8f62] master: Fix syntax error breaking compile in GP code.
Bastien Montagne
noreply at git.blender.org
Fri Jan 11 20:14:58 CET 2019
Commit: 1b18e0d8f625952fe68d907d37f8f06bfa2fc97f
Author: Bastien Montagne
Date: Fri Jan 11 20:11:11 2019 +0100
Branches: master
https://developer.blender.org/rB1b18e0d8f625952fe68d907d37f8f06bfa2fc97f
Fix syntax error breaking compile in GP code.
Seriously… Build your code before committing!!!
===================================================================
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 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)"));
More information about the Bf-blender-cvs
mailing list