Created attachment 129227 [details] Not correct size an mask layer when converting it from the paint layer and invert Not correct size an mask layer when converting it from the paint layer and invert. STEPS TO REPRODUCE 1. Create a paint layer №1 with an color 2. Create a paint layer №2 with black color 3. Convert №2 to transparency mask 4. Use invert color for p.l. №2 OBSERVED RESULT Mask size not equal layer size EXPECTED RESULT Mask size equal layer size See attached video.
Not correct size an mask layer when converting it from the paint layer and invert Not correct size an mask layer when converting it from the paint layer and invert. STEPS TO REPRODUCE 1. Create a paint layer №1 with an color 2. Create a paint layer №2 with white color 3. Convert №2 to transparency mask 4. Use invert color for p.l. №2 OBSERVED RESULT Mask size not equal layer size EXPECTED RESULT Mask size equal layer size See attached video.
Not correct size an mask layer when converting it from the paint layer and invert STEPS TO REPRODUCE 1. Create a paint layer №1 with an color 2. Create a paint layer №2 with white color 3. Convert №2 to transparency mask 4. Use invert color for p.l. №2 OBSERVED RESULT Mask size not equal layer size EXPECTED RESULT Mask size equal layer size See attached video.
I don't know how to delete the first and second comments ::)
Okay, I can reproduce :)
Git commit 0fc93bea34b79171b7427e442f342d36dc521426 by Dmitry Kazakov. Committed on 13/06/2020 at 09:42. Pushed by dkazakov into branch 'krita/4.3'. Fix applying invert filter on transparency masks We should care about KisFilter::needsTransparentPixels() when auto-cropping processing area. Related: bug 329846 M +3 -0 libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp https://invent.kde.org/graphics/krita/commit/0fc93bea34b79171b7427e442f342d36dc521426
Git commit 0c68de311da58565ef93ebe2baca24286900e025 by Dmitry Kazakov. Committed on 13/06/2020 at 09:44. Pushed by dkazakov into branch 'master'. Fix applying invert filter on transparency masks We should care about KisFilter::needsTransparentPixels() when auto-cropping processing area. Related: bug 329846 M +3 -0 libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp https://invent.kde.org/graphics/krita/commit/0c68de311da58565ef93ebe2baca24286900e025
Good job! ::)(In reply to Dmitry Kazakov from comment #6) > Git commit 0c68de311da58565ef93ebe2baca24286900e025 by Dmitry Kazakov. > Committed on 13/06/2020 at 09:44. > Pushed by dkazakov into branch 'master'. > > Fix applying invert filter on transparency masks > > We should care about KisFilter::needsTransparentPixels() when > auto-cropping processing area. > Related: bug 329846 > > M +3 -0 libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp > > https://invent.kde.org/graphics/krita/commit/ > 0c68de311da58565ef93ebe2baca24286900e025