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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/0355e1abe8815d
                   |                            |b61046d050936ca8915c31ee52
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 0355e1abe8815db61046d050936ca8915c31ee52 by Agata Cacko.
Committed on 19/06/2019 at 13:34.
Pushed by tymond into branch 'master'.

Fix converting lonely layer to selection mask

When you have only one layer in the image, you can still convert it
into a mask: filter mask, selection mask or transparency mask.
In case of filter and transparency masks, a new layer was created.
Before this commit, converting to selection mask caused Krita to enter
a state where there was no layers in Layers docker.
This commit makes sure that converting a lonely layer into a selection
mask will trigger creating new layer as well.

Note that the added check is important because the root layer allows
selection mask to be its child because of Global Selection Mask (that
was also the reason why only the selection mask worked the way it
worked) - that's why Krita needs to check the parent node explicitely
for being a root.

M  +2    -1    libs/ui/kis_mask_manager.cc

https://invent.kde.org/kde/krita/commit/0355e1abe8815db61046d050936ca8915c31ee52

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

Reply via email to