do not reset highlight compression when doing histogram matching

This commit is contained in:
Alberto Griggio
2018-01-21 19:21:41 +01:00
parent d44a3b8bb3
commit b13db578eb
3 changed files with 3 additions and 3 deletions

View File

@@ -459,7 +459,6 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
params.toneCurve.brightness = 0;
params.toneCurve.contrast = 0;
params.toneCurve.black = 0;
params.toneCurve.hlcompr = 0;
if (aeListener) {
aeListener->autoMatchedToneCurveChanged(params.toneCurve.curveMode, params.toneCurve.curve);

View File

@@ -753,7 +753,6 @@ private:
params.toneCurve.brightness = 0;
params.toneCurve.contrast = 0;
params.toneCurve.black = 0;
params.toneCurve.hlcompr = 0;
}

View File

@@ -567,7 +567,9 @@ void ToneCurve::adjusterChanged (Adjuster* a, double newval)
return;
}
setHistmatching(false);
if (a != expcomp && a != hlcompr && a != hlcomprthresh) {
setHistmatching(false);
}
Glib::ustring costr;