From 5e7a81f0f1199719876d33358b206913a0a93209 Mon Sep 17 00:00:00 2001 From: ffsup2 Date: Thu, 28 Oct 2010 23:59:21 +0200 Subject: [PATCH] skip ca_autocorrect --- rtengine/improccoordinator.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rtengine/improccoordinator.cc b/rtengine/improccoordinator.cc index ea54a78d4..03f3fb78a 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -83,17 +83,18 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall) { highDetailNeeded=true; break; } - - + RAWParams rp = params.raw; + if( !highDetailNeeded ){ + rp.dmethod = RAWParams::methodstring[RAWParams::fast]; + rp.ca_autocorrect = false; + rp.hotdeadpix_filt = false; + rp.ccSteps = 0; + } progress ("Applying white balance, color correction & sRBG conversion...",100*readyphase/numofphases); if ( todo & M_PREPROC) - imgsrc->preprocess( params.raw ); + imgsrc->preprocess( rp ); if( todo & M_RAW){ - RAWParams rp = params.raw; if( !highDetailNeeded ){ - rp.dmethod = RAWParams::methodstring[RAWParams::fast]; - rp.ca_autocorrect = false; - rp.ccSteps = 0; fineDetailsProcessed = false; }else fineDetailsProcessed = true;