[Bf-blender-cvs] [96e10dc2a53] master: Fix T63513: Gpencil - Circle guide activation with shortcut "C" is not working properly

Charlie Jolly noreply at git.blender.org
Thu Apr 18 12:39:25 CEST 2019


Commit: 96e10dc2a53769996606fc6f327c1602b3e88007
Author: Charlie Jolly
Date:   Thu Apr 18 11:39:13 2019 +0100
Branches: master
https://developer.blender.org/rB96e10dc2a53769996606fc6f327c1602b3e88007

Fix T63513: Gpencil - Circle guide activation with shortcut "C" is not working properly

Only add missing events after first point is added.

===================================================================

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 aba01a6935f..3fc7ade7368 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -3661,7 +3661,7 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event)
       /* handle drawing event */
       /* printf("\t\tGP - add point\n"); */
 
-      if (((p->flags & GP_PAINTFLAG_FIRSTRUN) == 0) || (guide->use_guide)) {
+      if (((p->flags & GP_PAINTFLAG_FIRSTRUN) == 0)) {
         gpencil_add_missing_events(C, op, event, p);
       }



More information about the Bf-blender-cvs mailing list