sometimes getimage is not called after demosaic, fixes #2932
This commit is contained in:
parent
b1dd9dd59a
commit
33182f743c
@ -220,13 +220,11 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
|||||||
}
|
}
|
||||||
|
|
||||||
imgsrc->demosaic( rp );
|
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) {
|
if (highDetailNeeded) {
|
||||||
highDetailRawComputed = true;
|
highDetailRawComputed = true;
|
||||||
|
|
||||||
if (params.toneCurve.hrenabled && params.toneCurve.method == "Color") {
|
|
||||||
todo |= M_INIT;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
highDetailRawComputed = false;
|
highDetailRawComputed = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user