Enabled property of a tool shoot be first in tool group of pp3 file. Was not the case for Retinex. Fixed. No Issue
This commit is contained in:
@@ -1476,6 +1476,10 @@ int ProcParams::save (const Glib::ustring &fname, const Glib::ustring &fname2, b
|
||||
|
||||
//save retinex
|
||||
|
||||
if (!pedited || pedited->retinex.enabled) {
|
||||
keyFile.set_boolean ("Retinex", "Enabled", retinex.enabled);
|
||||
}
|
||||
|
||||
if (!pedited || pedited->retinex.str) {
|
||||
keyFile.set_integer ("Retinex", "Str", retinex.str);
|
||||
}
|
||||
@@ -1504,10 +1508,6 @@ int ProcParams::save (const Glib::ustring &fname, const Glib::ustring &fname2, b
|
||||
keyFile.set_double ("Retinex", "Slope", retinex.slope);
|
||||
}
|
||||
|
||||
if (!pedited || pedited->retinex.enabled) {
|
||||
keyFile.set_boolean ("Retinex", "Enabled", retinex.enabled);
|
||||
}
|
||||
|
||||
if (!pedited || pedited->retinex.medianmap) {
|
||||
keyFile.set_boolean ("Retinex", "Median", retinex.medianmap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user