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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/036427c
                   |                            |473a8243ea96f61200c54de8f18
                   |                            |0380e7
         Resolution|---                         |FIXED

--- Comment #1 from Dmitry Kazakov <[email protected]> ---
Git commit 036427c473a8243ea96f61200c54de8f180380e7 by Dmitry Kazakov, on
behalf of Jeff Witthuhn.
Committed on 16/09/2025 at 10:30.
Pushed by dkazakov into branch 'master'.

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

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/036427c473a8243ea96f61200c54de8f180380e7

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

Reply via email to