Ciecam02 fixed bad temp and tint cat02preset

This commit is contained in:
Desmis
2020-02-29 12:51:17 +01:00
parent c79997bc48
commit aa389dbcae
4 changed files with 24 additions and 0 deletions

View File

@@ -1159,6 +1159,11 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
if (params->colorappearance.autoybscen && acListener && params->colorappearance.enabled && !params->colorappearance.presetcat02) {
acListener->ybCamChanged((int) yb); //real value Yb scene
}
if (params->colorappearance.enabled && params->colorappearance.presetcat02) {
acListener->wbCamChanged(params->wb.temperature, params->wb.green); //real temp and tint
}
} else {
// CIECAM is disabled, we free up its image buffer to save some space
if (ncie) {