[Bf-blender-cvs] [a5b1305cf28] greasepencil-object: GP: Guides: Set status back to idling after exiting cp mode
Charlie Jolly
noreply at git.blender.org
Fri Jan 11 16:31:56 CET 2019
Commit: a5b1305cf2837e94d7cef9f16087fbc5ebe44b2f
Author: Charlie Jolly
Date: Fri Jan 11 15:31:38 2019 +0000
Branches: greasepencil-object
https://developer.blender.org/rBa5b1305cf2837e94d7cef9f16087fbc5ebe44b2f
GP: Guides: Set status back to idling after exiting cp mode
===================================================================
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 0dd337f0b7b..16e154b0289 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -3384,6 +3384,7 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event)
break;
}
if (drawmode) {
+ p->status = GP_STATUS_IDLING;
p->paintmode = GP_PAINTMODE_DRAW;
ED_gpencil_toggle_brush_cursor(C, true, NULL);
DEG_id_tag_update(&p->scene->id, ID_RECALC_COPY_ON_WRITE);
More information about the Bf-blender-cvs
mailing list