histmatching: use the cache even when not in verbose mode
Fixes #4350 (thanks heckflosse!)
This commit is contained in:
@@ -180,9 +180,9 @@ 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;
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
outCurve = histMatchingCache;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
outCurve = { DCT_Linear };
|
outCurve = { DCT_Linear };
|
||||||
|
Reference in New Issue
Block a user