Fix broken export when filmnegative was used on xtrans files

This commit is contained in:
Ingo Weyrich
2019-08-29 22:46:09 +02:00
parent a1a680fbdc
commit 48bcf9e71a

View File

@@ -210,7 +210,7 @@ private:
imgsrc->preprocess ( params.raw, params.lensProf, params.coarse, params.dirpyrDenoise.enabled);
// After preprocess, run film negative processing if enabled
if (imgsrc->getSensorType() == ST_BAYER && params.filmNegative.enabled) {
if ((imgsrc->getSensorType() == ST_BAYER || (imgsrc->getSensorType() == ST_FUJI_XTRANS)) && params.filmNegative.enabled) {
imgsrc->filmNegativeProcess (params.filmNegative);
}