https://bugs.kde.org/show_bug.cgi?id=413668
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/krita/commit/26ddc0bed | |921d20f4331f25e4383752cffa8 | |580e --- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 26ddc0bed921d20f4331f25e4383752cffa8580e by Dmitry Kazakov. Committed on 25/05/2021 at 12:26. Pushed by dkazakov into branch 'master'. Fix pixel alignment when using transform tool on pixel art There were two problems: 1) KisTransformWorker accepted the offset measured in integers, which created a small drift of the whole image 2) KisFilterWeightsApplicator calculated the destination rect too aggressively. The formula might be okay for the filters that have whole-pixel support, but for half-pixel-support filters it caused issues. M +2 -2 libs/image/kis_filter_weights_applicator.h M +11 -6 libs/image/kis_transform_worker.cc M +2 -2 libs/image/kis_transform_worker.h M +42 -0 libs/image/tests/kis_transform_worker_test.cpp M +3 -0 libs/image/tests/kis_transform_worker_test.h M +2 -2 plugins/tools/tool_transform2/kis_transform_utils.cpp https://invent.kde.org/graphics/krita/commit/26ddc0bed921d20f4331f25e4383752cffa8580e -- You are receiving this mail because: You are watching all bug changes.