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

--- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 98502d4f1dae30780cc6121274ef0a43c5408057 by Dmitry Kazakov.
Committed on 08/12/2021 at 10:55.
Pushed by dkazakov into branch 'master'.

Fix layer styles dialog breaking the global Fg->Bg gradient

It looks like we don't create copies of the required resources
when putting them in the local storage. Whether we should do that
or not is a rather disputable topic (because it can cause
efficiency problems). So right now we should just be careful when
baking the gradients, and make copies explicitly.

The patch is also partially related to the problem mentioned in
the bug 445390 (though it doesn't fix it):
Related: bug 445390
(cherry picked from commit 0cdacdf4d5d60703b652a36465df5e04a3d35da8)

M  +17   -5    libs/image/kis_psd_layer_style.cpp
M  +6    -0    libs/resources/KisLocalStrokeResources.cpp
M  +1    -0    libs/resources/KisLocalStrokeResources.h

https://invent.kde.org/graphics/krita/commit/98502d4f1dae30780cc6121274ef0a43c5408057

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

Reply via email to