Files
test/source
Falk David 0185609a26 Fix: GPv3: Smoothing even with factor of 0
The grease pencil draw tool would still do a lot of smoothing
even if the active smoothing factor was set to 0.0.

This was because the screen space coordinates were always pre-blurred
before being passed to the curve fitting. Even if the curve fitting
outputs a line that fits the input exactly, it would still use the pre
smoothed coordinates.

The fix makes sure to use the smoothing factor in the influence
of the pre-blur. This way, no pre-blur is used when the factor is 0
and the lines will be smoothed much less.

Note that we always do some smoothing to avoid artifacts such
as pixel-grid-aligned lines etc.
2023-11-30 14:48:28 +01:00
..