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:
parent
8df5e0eb66
commit
ad0489ded8
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue