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

--- Comment #12 from Dmitry Kazakov <[email protected]> ---
Git commit d55985520fc1ce21a7451223017d52195e8ca423 by Dmitry Kazakov, on
behalf of Agata Cacko.
Committed on 03/03/2026 at 14:55.
Pushed by dkazakov into branch 'krita/6.0'.

Process squares in the correct order in Liquify

Before this commit, the squares to copy in the Grid Iteration Tools
would be processed at the end. This commit changes it so they are always
processed before any uneven "square". That ensures that all the squares
would be processed in the same order as they were before any performance
improvements (before merging), except that the consecutive squares
are merged (since they don't need any special order and can be processed
all at once).

Since the Liquify uses round brushes, the area of squares to merge would
typically have a lot of diagonal edges, therefore the KisRegion merger
would merge them into rows anyway, so while this will indeed reduce the
performance benefits we get from merging in comparison to the state from
before this commit, it should not reduce it drastically in practice.

M  +20   -3    libs/image/kis_grid_interpolation_tools.h

https://invent.kde.org/graphics/krita/-/commit/d55985520fc1ce21a7451223017d52195e8ca423

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

Reply via email to