Fix T63513: Gpencil - Circle guide activation with shortcut "C" is not working properly
authorCharlie Jolly <mistajolly@gmail.com>
Thu, 18 Apr 2019 10:39:13 +0000 (11:39 +0100)
committerCharlie Jolly <mistajolly@gmail.com>
Thu, 18 Apr 2019 10:39:13 +0000 (11:39 +0100)
Only add missing events after first point is added.

source/blender/editors/gpencil/gpencil_paint.c

index aba01a6..3fc7ade 100644 (file)
@@ -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);
       }