https://bugs.kde.org/show_bug.cgi?id=427153
--- Comment #8 from voronw...@gmail.com --- (In reply to Dmitry Kazakov from comment #7) > I have a feeling like the bug happens in KisTextureProperties::apply(). > > After the texture patches, line > > KisPaintDeviceSP mask = m_maskInfo->mask(); > > started to return RGBA device instead of alpha8. It makes the texture fill > differently. I will not be able to look further until the evening. You're probably right. I'm going to test making the KisTextureMaskInfo have a "preserve alpha" option which only gets set in Lightness and Gradient modes, so the mask is converted to grayscale when it's created if it's not in one of those modes. Also, I'm going to fix Gradient mode so it actually uses the alpha in the texture if it's there. Currently running a build; I'll post a merge request as soon as I have it working. -- You are receiving this mail because: You are watching all bug changes.