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

Tiar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Tiar <[email protected]> ---
That's because ASL format for layer styles only supports stop gradients while
this specific gradient is a segment gradient. You can convert it to a stop
gradient on top of the gradient editor.

(The gradient in question had one stop that has 100% opacity on the left and 0%
opacity on the right, and Krita saves 0 to the file).

The fix should be to convert to stop gradient when exiting the gradient editor
inside Layer Styles, probably. With some warning that it can lead to a loss of
data (it currently already warn about it). And then make extra sure in the ASL
code to convert it if it happens to still be a segment gradient. It's also
possible that ASL does support segment gradients and the saving code in
KisAslXmlWriter::writeSegmentGradient is simply wrong.

--

Also thanks for the your kind words! And for a very good bug report.

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

Reply via email to