https://bugs.kde.org/show_bug.cgi?id=421013
--- Comment #12 from Boudewijn Rempt <b...@valdyas.org> --- hellozee, does this patch makes sense: diff --git a/plugins/tools/selectiontools/KisMagneticWorker.cc b/plugins/tools/selectiontools/KisMagneticWorker.cc index f190006eb3..631caaf749 100644 --- a/plugins/tools/selectiontools/KisMagneticWorker.cc +++ b/plugins/tools/selectiontools/KisMagneticWorker.cc @@ -177,7 +177,7 @@ void KisMagneticLazyTiles::filter(qreal radius, QRect &rect) for (int i = firstTile.y(); i <= lastTile.y(); i++) { for (int j = firstTile.x(); j <= lastTile.x(); j++) { int currentTile = i * m_tilesPerRow + j; - if (radius != m_radiusRecord[currentTile]) { + if (m_radiusRecord.size() < currentTile && radius != m_radiusRecord[currentTile]) { QRect bounds = m_tiles[currentTile]; KisGaussianKernel::applyTightLoG(m_dev, bounds, radius, -1.0, QBitArray(), nullptr); KisLazyFillTools::normalizeAlpha8Device(m_dev, bounds); lines 1-13/13 (END) ? -- You are receiving this mail because: You are watching all bug changes.