From 11d68a71360cea97a14ad353df0765116503ca16 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Sun, 5 Jul 2020 11:41:12 -0700 Subject: [PATCH] Fix autofill amount bug (#5826) I forgot to change some values when fixing the order of profiled distortion correction in the processing pipeline (#5595). --- rtengine/iptransform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/iptransform.cc b/rtengine/iptransform.cc index 292d96383..8a1142c17 100644 --- a/rtengine/iptransform.cc +++ b/rtengine/iptransform.cc @@ -516,7 +516,7 @@ bool ImProcFunctions::transCoord (int W, int H, const std::vector &src, } if (pLCPMap && params->lensProf.useDist) { - pLCPMap->correctDistortion(x_d, y_d, 0, 0); + pLCPMap->correctDistortion(x_d, y_d, w2, h2); } // rotate