Ciecam02 chnage default settings cat02preset
This commit is contained in:
@@ -1158,7 +1158,8 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (params->colorappearance.enabled && params->colorappearance.presetcat02 && params->colorappearance.autotempout) {
|
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 {
|
} else {
|
||||||
|
@@ -824,7 +824,7 @@ void ColorAppearance::read (const ProcParams* pp, const ParamsEdited* pedited)
|
|||||||
presetcat02->set_active(pp->colorappearance.presetcat02);
|
presetcat02->set_active(pp->colorappearance.presetcat02);
|
||||||
|
|
||||||
nexttemp = pp->wb.temperature;
|
nexttemp = pp->wb.temperature;
|
||||||
nextgreen = pp->wb.green;
|
nextgreen = 1.; //pp->wb.green;
|
||||||
|
|
||||||
if (pedited) {
|
if (pedited) {
|
||||||
degree->setEditedState (pedited->colorappearance.degree ? Edited : UnEdited);
|
degree->setEditedState (pedited->colorappearance.degree ? Edited : UnEdited);
|
||||||
@@ -1368,6 +1368,7 @@ void ColorAppearance::presetcat02pressed ()
|
|||||||
gamut->set_active (true);
|
gamut->set_active (true);
|
||||||
gamutconn.block (false);
|
gamutconn.block (false);
|
||||||
degree->setAutoValue (true);
|
degree->setAutoValue (true);
|
||||||
|
degree->setValue(80);
|
||||||
degree->resetValue (false);
|
degree->resetValue (false);
|
||||||
adapscen->resetValue (false);
|
adapscen->resetValue (false);
|
||||||
adapscen->setAutoValue (true);
|
adapscen->setAutoValue (true);
|
||||||
@@ -1383,7 +1384,7 @@ void ColorAppearance::presetcat02pressed ()
|
|||||||
ybscen->setValue(18);
|
ybscen->setValue(18);
|
||||||
surround->set_active (0);
|
surround->set_active (0);
|
||||||
adaplum->setValue(400.);
|
adaplum->setValue(400.);
|
||||||
degreeout->setValue(70);
|
degreeout->setValue(80);
|
||||||
ybout->setValue(18);
|
ybout->setValue(18);
|
||||||
tempout->setValue (nexttemp);
|
tempout->setValue (nexttemp);
|
||||||
greenout->setValue (nextgreen);
|
greenout->setValue (nextgreen);
|
||||||
|
Reference in New Issue
Block a user