histogram matching: cache the computed tone curve in RawImageSource

This commit is contained in:
Alberto Griggio
2018-01-19 21:43:55 +01:00
parent 8728e3f3f3
commit 8f76392885
5 changed files with 14 additions and 3 deletions

View File

@@ -953,7 +953,6 @@ bool ToneCurve::histmatchingComputed()
autolevels->set_inconsistent(false);
}
histmatching->set_active(false);
toneCurveMode->set_active(rtengine::toUnderlying(nextToneCurveMode));
shape->setCurve(nextToneCurve);
shape2->setCurve({ DCT_Linear });