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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/0842ec2 |hics/krita/-/commit/c924b0e
                   |b208f4dfa9411062c7e1fdde600 |4f48ae97f24a24421dbeae72de5
                   |d8fab0                      |505ba6

--- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit c924b0e4f48ae97f24a24421dbeae72de5505ba6 by Dmitry Kazakov.
Committed on 12/12/2024 at 15:03.
Pushed by dkazakov into branch 'krita/5.2'.

Fix an assert when modifying Mesh Gradient on a shape

We shouldn't add any commands to the global undo stack in the mouse
move event handler. Instead, we should accumulate the command and add
it to the stack in teh very end of the operation in createCommand()
method.

The patch also fixes a memory leak, which caused the temporary command
to leak in case when the merge-branch was taken.

M  +13   -0    libs/command/kis_command_utils.cpp
M  +9    -0    libs/command/kis_command_utils.h
M  +3    -8    libs/flake/tools/KoPathControlPointMoveStrategy.cpp
M  +3    -7    libs/flake/tools/KoPathPointMoveStrategy.cpp
M  +8    -10  
plugins/tools/defaulttool/defaulttool/ShapeGradientEditStrategy.cpp
M  +11   -2   
plugins/tools/defaulttool/defaulttool/ShapeMeshGradientEditStrategy.cpp

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

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

Reply via email to