Skip to content
Commit 8f9293b5 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix a crashes when undoing multiple layer operations too quickly

This patch solve the whole bunch of issues that happened when the dummies
graph was updated too quickly:

1) Implements a clever strategy for processing not-yet-added nodes
   in KisDummiesFacadeBase::setImage(). Instead of just asserting on
   detection of such nodes, we track a "theoretical" set of nodes that
   will be present in the dummies graph after all synchronized connections
   are executed.

2) KisSynchronizedConnectionBase::postEvent() will not bariier-sync with
   the main events queue when the event is processed in the GUI thread.

3) Fixes minor mutex usage issues in KisSynchronizedConnection

4) KisNodeModel will no longer try to fetch a thumbnail from the layer
   that has been removed from the image.

BUG:447462
parent 865ed1fb
Loading
Loading
Loading
Pipeline #114691 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment