From 0920f6dfe8d5656429ef36147cf356dd9e491a12 Mon Sep 17 00:00:00 2001 From: rom9 <4711834+rom9@users.noreply.github.com> Date: Fri, 28 Jun 2019 22:51:22 +0200 Subject: [PATCH] rawData is not needed anymore in channelsAvg after commit d7bab9ba --- rtengine/filmnegativeproc.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rtengine/filmnegativeproc.cc b/rtengine/filmnegativeproc.cc index f3cca1245..db5705a3c 100644 --- a/rtengine/filmnegativeproc.cc +++ b/rtengine/filmnegativeproc.cc @@ -48,7 +48,6 @@ bool channelsAvg( const rtengine::RawImage* ri, int width, int height, - array2D& rawData, const float* cblacksom, rtengine::Coord spotPos, int spotSize, @@ -115,13 +114,13 @@ bool rtengine::RawImageSource::getFilmNegativeExponents(Coord2D spotA, Coord2D s // Sample first spot transformPosition(spotA.x, spotA.y, tran, spot.x, spot.y); - if (!channelsAvg(ri, W, H, rawData, cblacksom, spot, spotSize, currentParams, clearVals)) { + if (!channelsAvg(ri, W, H, cblacksom, spot, spotSize, currentParams, clearVals)) { return false; } // Sample second spot transformPosition(spotB.x, spotB.y, tran, spot.x, spot.y); - if (!channelsAvg(ri, W, H, rawData, cblacksom, spot, spotSize, currentParams, denseVals)) { + if (!channelsAvg(ri, W, H, cblacksom, spot, spotSize, currentParams, denseVals)) { return false; }