[Bf-blender-cvs] [96935969c57] greasepencil-object: GPencil: Guides: Fixed issue with start of very fast strokes

Charlie Jolly noreply at git.blender.org
Thu Oct 17 11:47:23 CEST 2019


Commit: 96935969c57a711d74ae3ec7d34fa9847ec2cf16
Author: Charlie Jolly
Date:   Thu Oct 17 10:47:09 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB96935969c57a711d74ae3ec7d34fa9847ec2cf16

GPencil: Guides: Fixed issue with start of very fast strokes

The interpolation now runs from the very first point.

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

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 78bb9d2c2e2..cac4b6e439c 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -3560,7 +3560,7 @@ static void gpencil_add_guide_points(tGPsdata *p,
                                      int segments)
 {
   bGPdata *gpd = p->gpd;
-  if ((gpd->runtime.sbuffer_used < 3)) {
+  if ((gpd->runtime.sbuffer_used == 0)) {
     return;
   }



More information about the Bf-blender-cvs mailing list