Commit: a4958aa8ccc4c3a42ef30fdd53512167c708ed7c
Author: Antonioya
Date:   Mon Mar 11 11:12:32 2019 +0100
Branches: master
https://developer.blender.org/rBa4958aa8ccc4c3a42ef30fdd53512167c708ed7c

GPencil: Fix unreported problem with input samples

The parameter was not working because it ws testing for guides only.

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

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 a9d680fd7d9..21c27bc3aeb 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -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);
                        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to