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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/7a709c5480aa24
                   |                            |bb693a937feb8465f5e0547c4e
         Resolution|---                         |FIXED

--- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 7a709c5480aa24bb693a937feb8465f5e0547c4e by Dmitry Kazakov.
Committed on 19/11/2019 at 11:54.
Pushed by dkazakov into branch 'master'.

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.

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/7a709c5480aa24bb693a937feb8465f5e0547c4e

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

Reply via email to