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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/4eb4338fd |hics/krita/commit/6010423ce
                   |2ec3e78b77deb161834fd52f99e |029ec0d690435d31bcf270372ff
                   |7e72                        |202d

--- Comment #6 from Dmitry Kazakov <[email protected]> ---
Git commit 6010423ce029ec0d690435d31bcf270372ff202d by Dmitry Kazakov.
Committed on 12/07/2021 at 13:27.
Pushed by dkazakov into branch 'master'.

Fix updates when undoing transformation made in "inplace" mode

1) The undo-stage update should happen not in reapplyTransform(),
   but before the actual "clear" operation. Otherwise we'll either
   get no or duplicated updates.

2) The patch also removed code duplication between the two
   transformation mode. Now the update compression algorithm
   is implemented in a separate KisBatchNodeUpdate class.

M  +1    -0    libs/image/CMakeLists.txt
A  +80   -0    libs/image/KisBatchNodeUpdate.cpp     [License: GPL(v2.0+)]
A  +78   -0    libs/image/KisBatchNodeUpdate.h     [License: GPL(v2.0+)]
M  +2    -2    libs/image/commands_new/KisUpdateCommandEx.cpp
M  +4    -7    libs/image/commands_new/KisUpdateCommandEx.h
M  +25   -38  
plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp
M  +1    -1   
plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.h
M  +8    -32  
plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp
M  +1    -1   
plugins/tools/tool_transform2/strokes/transform_stroke_strategy.h

https://invent.kde.org/graphics/krita/commit/6010423ce029ec0d690435d31bcf270372ff202d

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

Reply via email to