[Bf-blender-cvs] [682ba1d001d] greasepencil-object: GP: Minor threshold tweaks

Antonioya noreply at git.blender.org
Fri Jan 4 18:16:44 CET 2019


Commit: 682ba1d001d0b9d242274cf046af86cf95979fe4
Author: Antonioya
Date:   Fri Jan 4 18:15:57 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB682ba1d001d0b9d242274cf046af86cf95979fe4

GP: Minor threshold tweaks

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

M	source/blender/editors/gpencil/gpencil_utils.c

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

diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index 068f9f54e30..0027d0d76a2 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -2144,7 +2144,7 @@ int ED_gpencil_select_stroke_segment(
 	float(*points2d)[2] = MEM_mallocN(sizeof(*points2d) * gps->totpoints, "GP Stroke temp 2d points");
 	BKE_gpencil_stroke_2d_flat_ref(
 		gps->points, gps->totpoints,
-		gps->points, gps->totpoints, points2d, 0.0f, &direction);
+		gps->points, gps->totpoints, points2d, scale, &direction);
 
 	GHash *all_2d = BLI_ghash_ptr_new(__func__);



More information about the Bf-blender-cvs mailing list