Resize baBehav
on load (#4828)
This commit is contained in:
parent
f6a7e43ba0
commit
1ebbe0a096
@ -707,11 +707,11 @@ void BatchToolPanelCoordinator::spotWBselected (int x, int y, Thumbnail* thm)
|
||||
double otemp = initialPP[i].wb.temperature;
|
||||
double ogreen = initialPP[i].wb.green;
|
||||
|
||||
if (options.baBehav[12]) {
|
||||
if (options.baBehav[ADDSET_ROTATE_DEGREE]) {
|
||||
temp = temp - otemp;
|
||||
}
|
||||
|
||||
if (options.baBehav[13]) {
|
||||
if (options.baBehav[ADDSET_DIST_AMOUNT]) {
|
||||
green = green - ogreen;
|
||||
}
|
||||
|
||||
|
@ -1593,6 +1593,7 @@ void Options::readFromFile(Glib::ustring fname)
|
||||
if (keyFile.has_group("Batch Processing")) {
|
||||
if (keyFile.has_key("Batch Processing", "AdjusterBehavior")) {
|
||||
baBehav = keyFile.get_integer_list("Batch Processing", "AdjusterBehavior");
|
||||
baBehav.resize(ADDSET_PARAM_NUM);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user