Fix autofill amount bug (#5826)

I forgot to change some values when fixing the order of profiled
distortion correction in the processing pipeline (#5595).
This commit is contained in:
Lawrence Lee
2020-07-05 11:41:12 -07:00
parent 1ea9373247
commit 11d68a7136

View File

@@ -516,7 +516,7 @@ bool ImProcFunctions::transCoord (int W, int H, const std::vector<Coord2D> &src,
}
if (pLCPMap && params->lensProf.useDist) {
pLCPMap->correctDistortion(x_d, y_d, 0, 0);
pLCPMap->correctDistortion(x_d, y_d, w2, h2);
}
// rotate