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