Masks can be added to a locked layer and that's kinda wrong. How to reproduce: 1. Create a layer. 2. Lock it. 3. Add a mask onto it(any mask will do: transform/transparency/filter layer) 3.1 In some cases(i.e. filter layers) you can adjust the layer upon the creation. 4. Get a mask on a locked layer that cannot be edited as well since the parent is locked. Expected: Being unable to add a mask to a locked layer at all.
Git commit 8e19e4649445e6633a29e5586d923ede5cb0d4a4 by Eoin O'Neill. Committed on 10/10/2018 at 09:53. Pushed by eoinoneill into branch 'master'. Masks Can No Longer Be Added to Locked Layers This corrects unexpected behavior of being able to add masks to a locked layer even though you could not edit the masks immediately after. Now, trying to add a mask to a locked layer will not work. M +20 -0 libs/ui/kis_mask_manager.cc https://commits.kde.org/krita/8e19e4649445e6633a29e5586d923ede5cb0d4a4
Git commit b16e6d89522d5c1610301127f3f15106ef5cb425 by Boudewijn Rempt, on behalf of Eoin O'Neill. Committed on 11/10/2018 at 07:53. Pushed by rempt into branch 'krita/4.1'. Masks Can No Longer Be Added to Locked Layers This corrects unexpected behavior of being able to add masks to a locked layer even though you could not edit the masks immediately after. Now, trying to add a mask to a locked layer will not work. (cherry picked from commit 8e19e4649445e6633a29e5586d923ede5cb0d4a4) M +20 -0 libs/ui/kis_mask_manager.cc https://commits.kde.org/krita/b16e6d89522d5c1610301127f3f15106ef5cb425