Merge pull request #7240 from Beep6581/se-exposure-cbdl-dehaze-crash-fix

Fix for crash with Haze Removal, CBDL, and Selective Editing Exposure
This commit is contained in:
Lawrence37 2024-11-24 16:12:34 -08:00 committed by GitHub
commit 9774355960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20533,7 +20533,7 @@ void ImProcFunctions::Lab_Local(
float epsi = 0.000001f;
if((lp.laplacexp > 1.f && lp.exposena) || (lp.strng > 2.f && lp.sfena)){//strong Laplacian
if((lp.laplacexp > 1.f && lp.exposena) || (lp.strng > 2.f && lp.sfena) || (lp.exposena && lp.expcomp != 0.f && params->dirpyrequalizer.enabled)){//strong Laplacian
notlaplacian = true;
}