fixes #3425, A combination of settings in Wavelet's Edge Sharpnes tool crashes RawTherapee

This commit is contained in:
heckflosse
2016-09-11 23:49:37 +02:00
parent ef50841629
commit 1c17be663b

View File

@@ -2753,13 +2753,13 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
if (cp.reinforce == 3) {
if(rad < lim0 / 60.f && level == 0) {
expkoef *= repart; //reduce effect for low values of rad and level=0==> quasi only level 1 is effective
expkoef *= abs(repart); //reduce effect for low values of rad and level=0==> quasi only level 1 is effective
}
}
if (cp.reinforce == 1) {
if(rad < lim0 / 60.f && level == 1) {
expkoef /= repart; //increase effect for low values of rad and level=1==> quasi only level 0 is effective
expkoef /= abs(repart); //increase effect for low values of rad and level=1==> quasi only level 0 is effective
}
}