diff --git a/rtengine/improccoordinator.cc b/rtengine/improccoordinator.cc index 72e6832c0..29eeb07e8 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -234,7 +234,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall) if(params.raw.bayersensor.method != RAWParams::BayerSensor::getMethodString(RAWParams::BayerSensor::Method::PIXELSHIFT)) { imgsrc->setBorder(params.raw.bayersensor.border); } else { - imgsrc->setBorder(std::max(params.raw.bayersensor.border, 1)); + imgsrc->setBorder(std::max(params.raw.bayersensor.border, 2)); } } bool autoContrast = false; diff --git a/rtengine/simpleprocess.cc b/rtengine/simpleprocess.cc index 718c9c88c..14f215f07 100644 --- a/rtengine/simpleprocess.cc +++ b/rtengine/simpleprocess.cc @@ -163,7 +163,7 @@ private: if(params.raw.bayersensor.method!= RAWParams::BayerSensor::getMethodString(RAWParams::BayerSensor::Method::PIXELSHIFT)) { imgsrc->setBorder(params.raw.bayersensor.border); } else { - imgsrc->setBorder(std::max(params.raw.bayersensor.border, 1)); + imgsrc->setBorder(std::max(params.raw.bayersensor.border, 2)); } } imgsrc->getFullSize (fw, fh, tr);