Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-03-04 22:38:03 +0300
committerAntonioya <blendergit@gmail.com>2019-03-04 22:40:07 +0300
commitad0489ded869fdf52ed036884158b5ffb7ec3735 (patch)
tree931c24ee43f5e1c2b5955bed14eb6846b7182515 /source
parent8df5e0eb66f7f222f182205ff7ff32f765f6cb27 (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')
-rw-r--r--source/blender/editors/gpencil/annotate_paint.c2
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 */