From 72de3f21c7ccff53c5a91f2953c64bc4645f7e2d Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Thu, 25 Jun 2020 10:39:21 -0700 Subject: [PATCH] Remove misleading comments --- rtengine/iptransform.cc | 2 +- rtengine/lcp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;