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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/91f419944
                   |                            |5c137329d932bd557443b749701
                   |                            |b8fb

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 91f4199445c137329d932bd557443b749701b8fb by Dmitry Kazakov.
Committed on 23/01/2023 at 12:40.
Pushed by dkazakov into branch 'master'.

Fix synchronization of actions in SplitLayer

In Split Layer action we should first flatten the colorize
mask, and only then split it using the split-layer action.

The implementation had two issues:

1) There were `return` calls in between override-cursor cursors

2) It relied on `viewManager()->activeNode()` pointing to the
   newly converted mask when the first part of the action
   completed. The patch removes this reliance on a global variable
   and uses std::future instead.

A  +41   -0    libs/global/KisFutureUtils.h     [License: GPL(v2.0+)]
M  +8    -2    libs/image/kis_layer_utils.cpp
M  +2    -1    libs/image/kis_layer_utils.h
M  +34   -2    libs/image/kis_processing_applicator.cpp
M  +8    -0    libs/image/kis_processing_applicator.h
M  +1    -1    libs/ui/kis_layer_manager.cc
M  +22   -16   plugins/extensions/layersplit/layersplit.cpp

https://invent.kde.org/graphics/krita/commit/91f4199445c137329d932bd557443b749701b8fb

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

Reply via email to