Fix CIECAM scene temperature changing unexpectedly

The temperature was unexpectedly changing to 5003 when changing other
settings such as wavelets.

Closes #6326.
This commit is contained in:
Lawrence Lee
2021-08-22 17:07:52 -07:00
parent 855fe9b8eb
commit 8cb89688a7

View File

@@ -1398,9 +1398,11 @@ void ColorAppearance::convertParamToNormal()
wbmodel->set_active (0);
if (presetcat02->get_active ()) {
wbmodel->set_active (2);
illumChanged();
}
if (catmethod->get_active_row_number() == 1 || catmethod->get_active_row_number() == 2) {
wbmodel->set_active (2);
illumChanged();
}
greenout->setValue(def_params.greenout);