From 158eb98c2233c3099dc0fd6a1e399478750cc7a6 Mon Sep 17 00:00:00 2001 From: Charlie Jolly Date: Wed, 17 Jul 2019 17:08:55 +0100 Subject: GPencil: Fix usability problem with curve control points apart Based on feedback from @matiasmendio There was a problem with the control points because it was very difficult to know what point move. Now the points are moved apart and makes easy to know what point use. --- source/blender/editors/gpencil/gpencil_primitive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c index 540dd14fe1d..cca94925e6e 100644 --- a/source/blender/editors/gpencil/gpencil_primitive.c +++ b/source/blender/editors/gpencil/gpencil_primitive.c @@ -225,8 +225,8 @@ static void gp_primitive_update_cps(tGPDprimitive *tgpi) } else if (tgpi->type == GP_STROKE_CURVE) { mid_v2_v2v2(tgpi->midpoint, tgpi->start, tgpi->end); - copy_v2_v2(tgpi->cp1, tgpi->midpoint); - copy_v2_v2(tgpi->cp2, tgpi->cp1); + interp_v2_v2v2(tgpi->cp1, tgpi->midpoint, tgpi->start, 0.33f); + interp_v2_v2v2(tgpi->cp2, tgpi->midpoint, tgpi->end, 0.33f); } else if (tgpi->type == GP_STROKE_ARC) { if (tgpi->flip) { -- cgit v1.2.3