Fixed bad variable assignement in iplocallab.cc

This commit is contained in:
U-PCSPECIALIST01\jdesm 2024-05-01 10:48:15 +02:00
parent a53ddf4282
commit ca569b051b

View File

@ -933,8 +933,8 @@ static void calcLocalParams(int sp, int oW, int oH, const LocallabParams& locall
lp.balanexp = locallab.spots.at(sp).balanexp;
lp.linear = locallab.spots.at(sp).linear;
if (locallab.spots.at(sp).smoothciemet == "norm") {
lp.smoothciem = 1;
if (locallab.spots.at(sp).smoothciemet == "none") {
lp.smoothciem = 0;
} else if (locallab.spots.at(sp).smoothciemet == "Ev") {
lp.smoothciem = 1;
} else if (locallab.spots.at(sp).smoothciemet == "gam") {
@ -943,7 +943,7 @@ static void calcLocalParams(int sp, int oW, int oH, const LocallabParams& locall
lp.smoothciem = 3;
}
if (locallab.spots.at(sp).smoothciemet == "none") {
if (locallab.spots.at(sp).spotMethod == "norm") {
lp.fullim = 0;
} else if (locallab.spots.at(sp).spotMethod == "exc") {
lp.fullim = 1;