From 3db29b206006cbf7ea974c616fc9b8f5de7f159d Mon Sep 17 00:00:00 2001 From: heckflosse Date: Thu, 16 Mar 2017 23:54:59 +0100 Subject: [PATCH] Fixed bug with raw ca-correction when pixelshift image was opened with amaze demosaic and then method was switched to pixelshift --- rtengine/rawimagesource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/rawimagesource.cc b/rtengine/rawimagesource.cc index 38f0a260e..9e63ce529 100644 --- a/rtengine/rawimagesource.cc +++ b/rtengine/rawimagesource.cc @@ -1978,7 +1978,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le plistener->setProgressStr ("CA Auto Correction..."); plistener->setProgress (0.0); } - if(numFrames == 4 && raw.bayersensor.method == RAWParams::BayerSensor::methodstring[RAWParams::BayerSensor::pixelshift]) { + if(numFrames == 4) { for(int i=0; i<4; ++i) { CA_correct_RT(raw.ca_autocorrect, raw.cared, raw.cablue, 10.0 - raw.caautostrength, *rawDataFrames[i]); }