Disable freehand stroke timeout when airbrushing
Summary: This revision disables the freehand stroke timeout used by Basic and Weighted smoothing when airbrushing is enabled. This allows airbrushing with a low rate to work with Basic smoothing.
Test Plan:
The difference in behavior can be seen as follows.
- Set up a brush with the Airbrush option enabled and the rate set to a low value (e.g. 1).
- Select the freehand tool and enable Basic smoothing.
- Start a freehand stroke, then hold the cursor still without generating any pointer events (easiest to do with a mouse).
- With the patch, the airbrush feature should cause dabs to be painted slowly according to the rate configured in step 1. Without the patch, the airbrushing will not happen, because the airbrush rate is slower than the stroke timeout used by Basic smoothing.
The revision causes no new unit test failures on the author's machine.
Reviewers: Krita
Subscribers: allenmarshall
Differential Revision: https://phabricator.kde.org/D6463