locallab: dedup dehaze code

This commit is contained in:
heckflosse
2019-04-08 14:44:02 +02:00
parent d2f7db7182
commit 7970afa400
7 changed files with 28 additions and 143 deletions

View File

@@ -553,7 +553,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
fattal_11_dcrop_cache = nullptr;
}
ipf.dehaze(orig_prev);
ipf.dehaze(orig_prev, params->dehaze);
ipf.ToneMapFattal02(orig_prev);
if (oprevi != orig_prev) {