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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/8cd5fbb73bdb0c
                   |                            |a6d7610c5071fe7803e81906aa

--- Comment #2 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 8cd5fbb73bdb0ca6d7610c5071fe7803e81906aa by Agata Cacko.
Committed on 20/06/2019 at 21:08.
Pushed by tymond into branch 'master'.

Fix merging layers with not active selection masks

Before this commit, there was an assumption in the merging code
that a layer can have only one selection mask (which can be
gathered using ->selectionMask() function). This caused all non-active
selection mask to disappear during/after the merging.
This commit fixes that behaviour by taking all children of the merged
layer that happen to be KisSelectionMasks into account.

Note: it doesn't mean all of the selection masks will be preserved;
for now only the immediate child nodes of the selected layers are
considered.

M  +5    -4    libs/image/kis_layer_utils.cpp

https://invent.kde.org/kde/krita/commit/8cd5fbb73bdb0ca6d7610c5071fe7803e81906aa

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

Reply via email to