From ad0489ded869fdf52ed036884158b5ffb7ec3735 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Mon, 4 Mar 2019 20:38:03 +0100 Subject: Annotations: Reduce smooth factor to 0.5 The previous value was too high and deform too much if write text. --- source/blender/editors/gpencil/annotate_paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/editors/gpencil/annotate_paint.c b/source/blender/editors/gpencil/annotate_paint.c index a9654e50822..12f7032ef84 100644 --- a/source/blender/editors/gpencil/annotate_paint.c +++ b/source/blender/editors/gpencil/annotate_paint.c @@ -475,7 +475,7 @@ static short gp_stroke_addpoint( gpd->runtime.sbuffer_size++; /* smooth while drawing previous points with a reduction factor for previous */ for (int s = 0; s < 3; s++) { - gp_smooth_buffer(p, 1.0f * ((3.0f - s) / 3.0f), gpd->runtime.sbuffer_size - s); + gp_smooth_buffer(p, 0.5f * ((3.0f - s) / 3.0f), gpd->runtime.sbuffer_size - s); } /* check if another operation can still occur */ -- cgit v1.2.3