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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamtamy.tym...@gmail.com

--- Comment #2 from Tiar <tamtamy.tym...@gmail.com> ---
I think it might be actually caused, partially, by animation: in the code,
Krita merges all the color labeled layers together in a temporary image and
then use the projection. I guess what happens is that it still keeps track of
the other frames until the very end, which makes it much slower than in a
non-animated image with the same structure and size of layers etc.

The relevant code is in KisMergeLabeledLayersCommand, it's quite easy, what
needs to be done is to check if the layer is animated and flatten the layer
before it is added to the temporary image in the `mergeLabeledLayers()`
function. That should make it faster, I think.

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

Reply via email to