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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/0d6bd4e9c2d587
                   |                            |9e3a0406d612fabdf6e20af801
         Resolution|---                         |FIXED

--- Comment #10 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 0d6bd4e9c2d5879e3a0406d612fabdf6e20af801 by Dmitry Kazakov.
Committed on 30/10/2019 at 19:30.
Pushed by dkazakov into branch 'master'.

Rewrite "Auto Precision" option

The patch basically removes old implementation of auto-brush and
substitutes it with simple heuristics:

1) If brush size is below 30px, use full precision (level 5)
2) If brush has a texture, scatter, mirror, rotation or airbrush
   option, then disable subpixel precision (level 3)

The heuristics are chosen this way to make sure that all the older presets
work fine. The problem is that auto-precision option did nothing for
several previous versions of Krita (it just returned precision 5 all
the time), therefore brush creators bascially couldn't configure it
properly. The new implementation makes sure that most of the presets
with auto-precision will still have precision level 5, like it used to
be before auto-precision "fix".

The patch does *not* add any UI strings (only removes a few). So it
is safe to be backported to 4.2.

M  +6    -0    plugins/paintops/defaultpaintops/brush/kis_brushop.cpp
M  +1    -53   plugins/paintops/libpaintop/forms/wdgbrushchooser.ui
M  +4    -0    plugins/paintops/libpaintop/kis_brush_based_paintop.cpp
M  +6    -70   plugins/paintops/libpaintop/kis_brush_selection_widget.cpp
M  +0    -4    plugins/paintops/libpaintop/kis_brush_selection_widget.h
M  +3    -5    plugins/paintops/libpaintop/kis_dab_cache_base.cpp
M  +19   -47   plugins/paintops/libpaintop/kis_precision_option.cpp
M  +5    -5    plugins/paintops/libpaintop/kis_precision_option.h
M  +0    -1    plugins/paintops/libpaintop/kis_text_brush_chooser.cpp
M  +0    -1    plugins/paintops/libpaintop/kis_text_brush_chooser.h

https://invent.kde.org/kde/krita/commit/0d6bd4e9c2d5879e3a0406d612fabdf6e20af801

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

Reply via email to