diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-04 22:38:03 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-04 22:40:07 +0300 |
commit | ad0489ded869fdf52ed036884158b5ffb7ec3735 (patch) | |
tree | 931c24ee43f5e1c2b5955bed14eb6846b7182515 /source/blender/editors/gpencil | |
parent | 8df5e0eb66f7f222f182205ff7ff32f765f6cb27 (diff) |
Annotations: Reduce smooth factor to 0.5
The previous value was too high and deform too much if write text.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/annotate_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |