Commit 14efe87f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix artifacts in Gaussian Blur on transparent layer

Our border-repear strategy should work not on the exact
bounds of the device, but on the bounds of the image.

parent 8ff09e52
......@@ -147,7 +147,7 @@ void KisConvolutionPainter::applyMatrix(const KisConvolutionKernelSP kernel, con
// Determine whether we convolve border pixels, or not.
switch (borderOp) {
const QRect boundsRect = src->exactBounds();
const QRect boundsRect = src->defaultBounds()->bounds();
const QRect requestedRect = QRect(srcPos, areaSize);
QRect dataRect = requestedRect | boundsRect;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment