https://bugs.kde.org/show_bug.cgi?id=369349

--- Comment #24 from RN <rafanav...@hotmail.com> ---
I tried the latest stable release, 3.1.3.6.
I also compared the relevant stabiliser source to version 2.9.11, which has a
very smooth stabiliser.

In 2.9.11 the stabiliser poll function is set to run at every single
millisecond (line 583 of kis_tool_freehand_helper.cpp from 2.9.11):

void KisToolFreehandHelper::stabilizerStart(KisPaintInformation firstPaintInfo)
{
    [...]

    // Poll and draw each millisecond
    m_d->stabilizerPollTimer.setInterval(1);
    m_d->stabilizerPollTimer.start();
}

On 3.1.3.6 there's two hidden configuration settings that you can add to your
kritarc file (see here how to find it
https://docs.krita.org/KritaFAQ#Where_are_the_configuration_files_stored.3F)
which I think improve the stabilizer feedback.
At the beginning of my kritarc file I added these lines:

stabilizerDelayedPaintInterval=999
stabilizerSampleSize=16

Both lines are needed. What they do is disable the delayed paint helper
(because of this condition here
https://github.com/KDE/krita/blob/e7a35329b23e2cb5c832f562ddf800889e6f342f/libs/ui/tool/kis_tool_freehand_helper.cpp#L632)
and make the stabilizer sample and redraw at 16ms, or 60 FPS.
This makes it visually similar to 2.9.11.

One could use...
stabilizerDelayedPaintInterval=999
stabilizerSampleSize=1

...to make it even faster I guess (and make it exactly like 2.9.11), but if
your monitor displays at 60 FPS then in theory it shouldn't make a difference.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to