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

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/cc273e498
                   |                            |5c42f940c60908be6d02ed47554
                   |                            |652e
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit cc273e4985c42f940c60908be6d02ed47554652e by Agata Cacko.
Committed on 14/07/2020 at 19:36.
Pushed by tymond into branch 'master'.

Fix crash on curve adjustment filter in CMYK document

Before this commit, Krita will crash on accessing Saturation
or other "fake" channel in the curve adjustment filter dialog.
This commit fixes it.
The problem was in recent change in the PerChannelFilter,
it would access the actual channels of the color space
to set min and max of the dialog. Since Saturation isn't
a channel of the CMYK color space, it would crash.

I'm not 100% sure the code here doesn't have any more
issues but I don't know how it exactly should be written.
In any case, this commit improves the situation by setting min
and max manually in case of "fake" channels. This is consistent
with the old behaviour before dffa076018d6bf98ec0.

M  +10   -2    plugins/filters/colorsfilters/kis_perchannel_filter.cpp

https://invent.kde.org/graphics/krita/commit/cc273e4985c42f940c60908be6d02ed47554652e

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

Reply via email to