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

Andrey <a.kama...@icloud.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri
                   |ta/45dc6137bf395cbb9e860973 |ta/ee35a0584194c3071865b885
                   |645f475d2e05d12a            |5855196896dff308

--- Comment #5 from Andrey <a.kama...@icloud.com> ---
Git commit ee35a0584194c3071865b8855855196896dff308 by Andrey Kamakin, on
behalf of Dmitry Kazakov.
Committed on 26/06/2018 at 14:18.
Pushed by akamakin into branch 'akamakin/T8628-multithreading-optimization'.

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

2) 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).

M  +25   -7    libs/image/kis_recalculate_transform_mask_job.cpp
C  +9    -16   libs/image/kis_spontaneous_job.cpp [from:
libs/image/kis_spontaneous_job.h - 054% similarity]
M  +11   -0    libs/image/kis_spontaneous_job.h
M  +12   -0    libs/image/kis_transform_mask.cpp
M  +7    -0    libs/image/kis_transform_mask.h
M  +1    -1    libs/image/kis_update_job_item.h
M  +2    -30  
plugins/tools/tool_transform2/kis_modify_transform_mask_command.cpp
M  +0    -3   
plugins/tools/tool_transform2/kis_modify_transform_mask_command.h

https://commits.kde.org/krita/ee35a0584194c3071865b8855855196896dff308

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

Reply via email to