Diffusion Krita b1744c79888f

Fix a crash when undo/redo a creation of a selection mask

Authored by dkazakov on Aug 28 2018, 10:59 AM.

Description

Fix a crash when undo/redo a creation of a selection mask

There were several architectural fixes needed:

  1. KisAnimationCurveChannelListModel stores an internal list of selected nodes (dummies), therefore it should also be subscribed to sigBeginRemoveDummy() signal to update this list before the dummy will be actually deleted.
  1. KisNodeManager should not allow activating a node if it is not visible in the layers docker (KisNodeModel). To move the "model" part of node hiding into KisNodeManager without making all the internal classes depend on it a special class KisNodeDisplayModeAdapter was introduced.

BUG:397809

Details

Committed
dkazakovAug 28 2018, 11:02 AM
Parents
R37:1e640d2738ef: Silence warnings for xfctools on clang
Branches
Unknown
Tags
Unknown