sometimes getimage is not called after demosaic, fixes #2932

This commit is contained in:
heckflosse 2015-10-12 17:57:38 +02:00
parent b1dd9dd59a
commit 33182f743c

View File

@ -220,13 +220,11 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
}
imgsrc->demosaic( rp );
// if a demosaic happened we should also call getimage later, so we need to set the M_INIT flag
todo |= M_INIT;
if (highDetailNeeded) {
highDetailRawComputed = true;
if (params.toneCurve.hrenabled && params.toneCurve.method == "Color") {
todo |= M_INIT;
}
} else {
highDetailRawComputed = false;
}