From f3b5fc791e3cd8fd612dc5fffcf4301ab6578a50 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Thu, 1 Feb 2018 13:50:41 +0100 Subject: [PATCH] histmatching: use the cache even when not in verbose mode Fixes #4350 (thanks heckflosse!) --- rtengine/histmatching.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/histmatching.cc b/rtengine/histmatching.cc index aaeada81a..6f1387416 100644 --- a/rtengine/histmatching.cc +++ b/rtengine/histmatching.cc @@ -180,9 +180,9 @@ void RawImageSource::getAutoMatchedToneCurve(std::vector &outCurve) if (!histMatchingCache.empty()) { if (settings->verbose) { std::cout << "tone curve found in cache" << std::endl; - outCurve = histMatchingCache; - return; } + outCurve = histMatchingCache; + return; } outCurve = { DCT_Linear };