Annotations: Reduce smooth factor to 0.5

The previous value was too high and deform too much if write text.
This commit is contained in:
Antonio Vazquez 2019-03-04 20:38:03 +01:00
parent 8df5e0eb66
commit ad0489ded8
1 changed files with 1 additions and 1 deletions

View File

@ -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 */