Commit 7e80b852 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix activation of FFTW convolution worker

It seems like FFTW convolution was disabled since 18 Jun 2018,
when my faulty commit (31d8cf90)
applied De Morgan's laws incorrectly :(

BUG:407062
parent 6830e66a
......@@ -68,7 +68,7 @@ bool KisConvolutionPainter::useFFTImplemenation(const KisConvolutionKernelSP ker
result =
m_enginePreference == FFTW ||
(m_enginePreference == NONE &&
kernel->width() > THRESHOLD_SIZE &&
kernel->width() > THRESHOLD_SIZE ||
kernel->height() > THRESHOLD_SIZE);
#else
Q_UNUSED(kernel);
......
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