fixes #3425, A combination of settings in Wavelet's Edge Sharpnes tool crashes RawTherapee
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user