From 60160025f973d323c787ea9b81e5017d28a75f6f Mon Sep 17 00:00:00 2001 From: Desmis Date: Tue, 3 Mar 2020 08:07:36 +0100 Subject: [PATCH] Ciecam02 chnage default settings cat02preset --- rtengine/improccoordinator.cc | 3 ++- rtgui/colorappearance.cc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rtengine/improccoordinator.cc b/rtengine/improccoordinator.cc index 15d477fdc..3cc58b01c 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -1158,7 +1158,8 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange) } if (params->colorappearance.enabled && params->colorappearance.presetcat02 && params->colorappearance.autotempout) { - acListener->wbCamChanged(params->wb.temperature, params->wb.green); //real temp and tint + // acListener->wbCamChanged(params->wb.temperature, params->wb.green); //real temp and tint + acListener->wbCamChanged(params->wb.temperature, 1.f); //real temp and tint = 1. } } else { diff --git a/rtgui/colorappearance.cc b/rtgui/colorappearance.cc index ace7affd6..394298566 100644 --- a/rtgui/colorappearance.cc +++ b/rtgui/colorappearance.cc @@ -824,7 +824,7 @@ void ColorAppearance::read (const ProcParams* pp, const ParamsEdited* pedited) presetcat02->set_active(pp->colorappearance.presetcat02); nexttemp = pp->wb.temperature; - nextgreen = pp->wb.green; + nextgreen = 1.; //pp->wb.green; if (pedited) { degree->setEditedState (pedited->colorappearance.degree ? Edited : UnEdited); @@ -1368,6 +1368,7 @@ void ColorAppearance::presetcat02pressed () gamut->set_active (true); gamutconn.block (false); degree->setAutoValue (true); + degree->setValue(80); degree->resetValue (false); adapscen->resetValue (false); adapscen->setAutoValue (true); @@ -1383,7 +1384,7 @@ void ColorAppearance::presetcat02pressed () ybscen->setValue(18); surround->set_active (0); adaplum->setValue(400.); - degreeout->setValue(70); + degreeout->setValue(80); ybout->setValue(18); tempout->setValue (nexttemp); greenout->setValue (nextgreen);