https://bugs.kde.org/show_bug.cgi?id=436257
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/f2b5a0aef | |84b13db86a03e59801441905b34 | |a7f7 --- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit f2b5a0aef84b13db86a03e59801441905b34a7f7 by Dmitry Kazakov. Committed on 11/05/2021 at 11:52. Pushed by dkazakov into branch 'master'. Fix RGBA brushes created in Krita 4.4 becoming darker in Krita 5.0 In Krita 4.x releases there was a bug that caused lightness adjustments to be applied to the brush **twice**. It happened due to the fact that copy-ctor called brushTipImage() virtual method instead of just copying the image itself. In Krita 5 we should open these brushes in somehwat the same way. The problem is that we cannot convert the numbers precisely, because after applying a piecewice-linear function twice we get a quadratic function. So we fall-back to a blunt parameters scaling, which gives result that is just "good enough". M +1 -0 libs/brush/KisColorfulBrush.cpp M +26 -4 libs/brush/kis_predefined_brush_factory.cpp https://invent.kde.org/graphics/krita/commit/f2b5a0aef84b13db86a03e59801441905b34a7f7 -- You are receiving this mail because: You are watching all bug changes.