Diffusion Krita fb81d715fc99

Fix crash when using Pencil Tool with a tablet

Authored by dkazakov on Oct 8 2019, 2:24 PM.

Description

Fix crash when using Pencil Tool with a tablet

The patch basically makes KoPathShape::outline() cont-safe. Q_FOREACH
doesn't support thread-safety, because it relies on copy-on-write.
Every non-const access during Q_FOREACH will casue a detach, which
is not safe in multithreaded environment.

CCBUG:412530

Details

Committed
dkazakovOct 8 2019, 3:33 PM
Parents
R37:b67fede29972: Remove extra update when creating a new shape
Branches
Unknown
Tags
Unknown