https://bugs.kde.org/show_bug.cgi?id=477164
Dmitry Kazakov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/-/commit/036427c |hics/krita/-/commit/5cdf332 |473a8243ea96f61200c54de8f18 |b1d44100c5e36d8ba33f4b17a43 |0380e7 |db8f38 --- Comment #2 from Dmitry Kazakov <[email protected]> --- Git commit 5cdf332b1d44100c5e36d8ba33f4b17a43db8f38 by Dmitry Kazakov. Committed on 16/09/2025 at 10:31. Pushed by dkazakov into branch 'krita/5.2'. Fix brush preview outlines being aligned based on incorrect bounding box. The root cause of this bug is that the class `KisOptimizedBrushOutline` does not keep track of the original 'center' of the brush. It instead uses the center of the non-transparent pixels in the brush. The patch just stores the bounds explicitly in `KisOptimizedBrushOutline` to resolve this issue (cherry picked from commit 036427c473a8243ea96f61200c54de8f180380e7) 46c4af7c Save bounding box of outline for image-based brushes 32b73b36 Fix formatting and add missing include 7ddbc7ab Use const reference for new constructor argument b980bc3c BUG:477164 Update for review comments Co-authored-by: Jeff Witthuhn <[email protected]> M +1 -1 libs/brush/kis_brush.cpp M +9 -3 libs/image/brushengine/KisOptimizedBrushOutline.cpp M +4 -2 libs/image/brushengine/KisOptimizedBrushOutline.h https://invent.kde.org/graphics/krita/-/commit/5cdf332b1d44100c5e36d8ba33f4b17a43db8f38 -- You are receiving this mail because: You are watching all bug changes.
