• Ell's avatar
    Bug 795081 - Crash when using a brush combined with a dynamics · f5cb1fed
    Ell authored
    In GimpPaintTool, brush outline generation took place during
    gimp_paint_tool_draw() even while painting.  This function is run
    concurrently with the paint thread.  When using dynamics, this
    introduced a race conidition between updating the brush mask in the
    paint thread, and updating the brush boundary in the main thread.
    Move brush outline generation during painting to
    gimppainttool-paint.c, and perform it in the display-update
    timeout, while the main thread and the paint thread are
gimpdrawable.h 14.5 KB