GPencil: Fix unreported problem with input samples

The parameter was not working because it ws testing for guides only.
This commit is contained in:
Antonio Vazquez 2019-03-11 11:12:32 +01:00
parent 5be35ad7c9
commit a4958aa8cc
1 changed files with 1 additions and 1 deletions

View File

@ -3684,7 +3684,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)) && guide->use_guide) {
if (((p->flags & GP_PAINTFLAG_FIRSTRUN) == 0) || (guide->use_guide)) {
gpencil_add_missing_events(C, op, event, p);
}