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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kri
                   |                            |ta/3ecf377c522a1f5b8b8311d4
                   |                            |00d139cab30e47fd

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 3ecf377c522a1f5b8b8311d400d139cab30e47fd by Dmitry Kazakov.
Committed on 12/06/2018 at 08:19.
Pushed by dkazakov into branch 'master'.

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/3ecf377c522a1f5b8b8311d400d139cab30e47fd

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

Reply via email to