Fix broken export when filmnegative was used on xtrans files

This commit is contained in:
Ingo Weyrich 2019-08-29 22:50:45 +02:00
parent df8367558b
commit a5cba6261a

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);
}