histmatching: use the cache even when not in verbose mode
Fixes #4350 (thanks heckflosse!)
This commit is contained in:
@@ -180,10 +180,10 @@ void RawImageSource::getAutoMatchedToneCurve(std::vector<double> &outCurve)
|
|||||||
if (!histMatchingCache.empty()) {
|
if (!histMatchingCache.empty()) {
|
||||||
if (settings->verbose) {
|
if (settings->verbose) {
|
||||||
std::cout << "tone curve found in cache" << std::endl;
|
std::cout << "tone curve found in cache" << std::endl;
|
||||||
|
}
|
||||||
outCurve = histMatchingCache;
|
outCurve = histMatchingCache;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
outCurve = { DCT_Linear };
|
outCurve = { DCT_Linear };
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user