Diffusion Krita 45dc6137bf39

Fix crash when editing transform mask too actively

Authored by dkazakov on Jun 12 2018, 8:15 AM.

Description

Fix crash when editing transform mask too actively

  1. Now KisSpontaneousJob has an 'exclusive' property, which guarantees that now other update jobs are not running in parallel
  1. KisModifyTransformMaskCommand mush not call m_mask->recaclulateStaticImage() directly, it doesn't guarantee exclusive access to a paint device, which can cause a crash (because the transform worker calls KisPaintDevice::purge(), which demands exclusive access).

BUG:395224
(cherry picked from commit 3ecf377c522a1f5b8b8311d400d139cab30e47fd)

Details

Committed
remptJun 13 2018, 11:48 AM
Parents
R37:b0f948e5f261: Ten Brushes Script: Add preset memory.
Branches
Unknown
Tags
Unknown