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

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/7a709c5480aa24 |krita/commit/f2394e71d5a126
                   |bb693a937feb8465f5e0547c4e  |e9a8cf32323a4251a178302e34

--- Comment #7 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit f2394e71d5a126e9a8cf32323a4251a178302e34 by Agata Cacko, on behalf
of Dmitry Kazakov.
Committed on 09/01/2020 at 13:54.
Pushed by tymond into branch 'krita/4.2'.

Fix undo of replacing vector selection

When redoing KisTakeAllShapesCommand, we should keep the
selection projection, but when undoing it, we should start a
full-featured update to get a correct canvas state. It is needed
because pixel selection is used as a projection in shape-mode, so
undo/redo for it is not valid.


(cherry picked from commit 7a709c5480aa24bb693a937feb8465f5e0547c4e)

M  +5    -0    libs/image/kis_selection.cc
M  +2    -0    libs/image/kis_selection.h
M  +1    -1    libs/ui/flake/kis_shape_selection.cpp
M  +4    -0    libs/ui/flake/kis_shape_selection_model.cpp
M  +5    -4    libs/ui/flake/kis_take_all_shapes_command.cpp
M  +4    -1    libs/ui/flake/kis_take_all_shapes_command.h
M  +107  -0    libs/ui/tests/kis_shape_selection_test.cpp
M  +2    -0    libs/ui/tests/kis_shape_selection_test.h

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

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

Reply via email to