Fixed the same Observer for general and Itcwb
This commit is contained in:
parent
8047aded3b
commit
d5aae723b8
@ -3764,15 +3764,17 @@ void ColorTemp::tempxy(bool separated, int repref, float **Tx, float **Ty, float
|
|||||||
Refxyz[i].Zref = 0.f;
|
Refxyz[i].Zref = 0.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings->verbose) {
|
/* if (settings->verbose) {
|
||||||
|
|
||||||
if (settings->itcwb_stdobserver10 == false) {//I will try to change settings by main
|
if (settings->itcwb_stdobserver10 == false) {//I will try to change settings by main
|
||||||
printf("Use standard observer 2°\n");
|
printf("Use standard observer 2°\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Use standard observer 10°\n");
|
printf("Use standard observer 10°\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
const color_match_type &color_match = (settings->itcwb_stdobserver10 == true) ? cie_colour_match_jd : cie_colour_match_jd2;
|
const color_match_type &color_match = (settings->observer10 == true) ? cie_colour_match_jd : cie_colour_match_jd2;
|
||||||
|
// const color_match_type &color_match = (settings->itcwb_stdobserver10 == true) ? cie_colour_match_jd : cie_colour_match_jd2;
|
||||||
|
|
||||||
if (separated) {
|
if (separated) {
|
||||||
const double tempw = Txyz[repref].Tem;
|
const double tempw = Txyz[repref].Tem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user