• Dmitry Kazakov's avatar
    Fix crash when creating a bezier curve · 1e5db24a
    Dmitry Kazakov authored
    The patch basically makes KoShapeManager thread safe by adding
    a simple mutex. The problem is that both,
    KoCreatePathTool::Private::endPointAtPosition() and
    KisRepaintShapeLayerLayerJob access the shape manager in different
    threads concurrently, which obviously causes a crash.
    
    BUG:410572
    BACKPORT:krita/4.2
    1e5db24a
KoShapeManager.cpp 21.4 KB