fix: layer thumbnail flickering during liquify

While doing liquify brush strokes, the little thumbnail is refreshing constantly, really draining performance, and also visibly flickering because it doesn't keep the old image until the new render is done.

In fact, updating thumbnails during a liquify brush stroke makes no sense anyway. The user is looking at the curser/brush, not at some tiny thumbnail...

I made it so that these updates can be suspended (used during liquify);

I just use the already existing 'thumbnailSeqNo' and now only update if things actually match (including size); if we already have an image we keep showing that (until rerender is done)

Here I wasnt really sure about wtf was going on with the parameter order of sigThumbnailGenerated

Look at this state in master: If that is just an oversight/bug that's fine, whatever. But if that had some meaning that I don't understand, please let me know.

image.png

Merge request reports

Loading
Loading