diff --git a/rtengine/iptransform.cc b/rtengine/iptransform.cc index 29f2f25eb..f8a15cbfd 100644 --- a/rtengine/iptransform.cc +++ b/rtengine/iptransform.cc @@ -1089,7 +1089,7 @@ void ImProcFunctions::transformGeneral(bool highQuality, Imagefloat *original, I } if (enableLCPDist) { - pLCPMap->correctDistortion(x_d, y_d, w2, h2); // must be first transform + pLCPMap->correctDistortion(x_d, y_d, w2, h2); } // rotate diff --git a/rtengine/lcp.h b/rtengine/lcp.h index de9ff045f..b59cc84c6 100644 --- a/rtengine/lcp.h +++ b/rtengine/lcp.h @@ -194,7 +194,7 @@ public: ); - void correctDistortion(double &x, double &y, int cx, int cy) const override; // MUST be the first stage + void correctDistortion(double &x, double &y, int cx, int cy) const override; bool isCACorrectionAvailable() const override; void correctCA(double& x, double& y, int cx, int cy, int channel) const override; void processVignette(int width, int height, float** rawData) const override;