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

@@ -739,7 +739,8 @@ private:
int aehistcompr;
imgsrc->getAutoExpHistogram (aehist, aehistcompr);
ipf.getAutoExp (aehist, aehistcompr, params.toneCurve.clip, expcomp, bright, contr, black, hlcompr, hlcomprthresh);
} else if (params.toneCurve.histmatching) {
}
if (params.toneCurve.histmatching) {
imgsrc->getAutoMatchedToneCurve(params.toneCurve.curve);
params.toneCurve.histmatching = false;