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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/0d6bd4e9c2d587 |krita/commit/a4085f0873310d
                   |9e3a0406d612fabdf6e20af801  |12a03242e455b3e0432d451ed7

--- Comment #12 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit a4085f0873310d12a03242e455b3e0432d451ed7 by Dmitry Kazakov.
Committed on 05/11/2019 at 17:18.
Pushed by dkazakov into branch 'krita/4.2'.

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.

# Conflicts:
#       plugins/paintops/libpaintop/kis_brush_selection_widget.cpp
#       plugins/paintops/libpaintop/kis_brush_selection_widget.h
#       plugins/paintops/libpaintop/kis_dab_cache_base.cpp

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  +8    -44   plugins/paintops/libpaintop/kis_brush_selection_widget.cpp
M  +0    -2    plugins/paintops/libpaintop/kis_brush_selection_widget.h
M  +6    -1    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

https://invent.kde.org/kde/krita/commit/a4085f0873310d12a03242e455b3e0432d451ed7

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

Reply via email to