fixed bad interaction between auto levels and histogram matching

This commit is contained in:
Alberto Griggio
2018-01-18 17:55:14 +01:00
parent abfeb4ca1d
commit 7b3e9f7b7a
2 changed files with 4 additions and 2 deletions

View File

@@ -445,7 +445,8 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
if (aeListener)
aeListener->autoExpChanged (params.toneCurve.expcomp, params.toneCurve.brightness, params.toneCurve.contrast,
params.toneCurve.black, params.toneCurve.hlcompr, params.toneCurve.hlcomprthresh, params.toneCurve.hrenabled);
} else if (params.toneCurve.histmatching) {
}
if (params.toneCurve.histmatching) {
imgsrc->getAutoMatchedToneCurve(params.toneCurve.curve);
params.toneCurve.histmatching = false;