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

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/8cd5fbb73bdb0c |krita/commit/e2d14a35d9474f
                   |a6d7610c5071fe7803e81906aa  |d9f4b219123b46ac1ec2b9bf90

--- Comment #3 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit e2d14a35d9474fd9f4b219123b46ac1ec2b9bf90 by Boudewijn Rempt, on
behalf of Agata Cacko.
Committed on 24/06/2019 at 08:20.
Pushed by rempt into branch 'krita/4.2'.

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

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

Reply via email to