Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix artifacts when painting under a gaussian blus layer in WA-mode

Dmitry Kazakov6e79707c5df4
diff --git a/libs/image/kis_convolution_painter.cc b/libs/image/kis_convolution_painter.cc
index aa88e4bd09..64727aea13 100644
--- a/libs/image/kis_convolution_painter.cc
+++ b/libs/image/kis_convolution_painter.cc
@@ -134,7 +134,7 @@ void KisConvolutionPainter::applyMatrix(const KisConvolutionKernelSP kernel, con
* because the paint device has its own special
* iterators, which do everything for us.
*/
- if (src->defaultBounds()->wrapAroundMode()) {
+ if (src->defaultBounds()->wrapAroundMode() && src->supportsWraproundMode()) {
borderOp = BORDER_IGNORE;
}