From 039f68e545af7cd6884111327fc859552818f2c2 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 8 Jun 2018 17:48:53 +0200 Subject: [PATCH] Fix another two bugs I introduced --- rtengine/procparams.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index 9f6f26cf5..00419693c 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -4711,9 +4711,9 @@ int ProcParams::load(const Glib::ustring& fname, ParamsEdited* pedited) if (keyFile.has_key("RAW Bayer", "pixelShiftLmmse")) { bool useLmmse = keyFile.get_boolean ("RAW Bayer", "pixelShiftLmmse"); if (useLmmse) { - raw.bayersensor.pixelShiftDemosaicMethod = raw.bayersensor.getPSDemosaicMethodString(raw.bayersensor.PSDemosaicMethod::LMMSE); + raw.bayersensor.pixelShiftDemosaicMethod = raw.bayersensor.getPSDemosaicMethodString(RAWParams::BayerSensor::PSDemosaicMethod::LMMSE); } else { - raw.bayersensor.pixelShiftDemosaicMethod = raw.bayersensor.getPSDemosaicMethodString(raw.bayersensor.PSDemosaicMethod::AMAZE); + raw.bayersensor.pixelShiftDemosaicMethod = raw.bayersensor.getPSDemosaicMethodString(RAWParams::BayerSensor::PSDemosaicMethod::AMAZE); } if (pedited) { pedited->raw.bayersensor.pixelShiftDemosaicMethod = true;