shadows/highlights: ignore the params in the pp3 if ppVersion < 333
This commit is contained in:
@@ -3890,7 +3890,7 @@ int ProcParams::load(const Glib::ustring& fname, ParamsEdited* pedited)
|
||||
assignFromKeyfile(keyFile, "FattalToneMapping", "Anchor", pedited, fattal.anchor, pedited->fattal.anchor);
|
||||
}
|
||||
|
||||
if (keyFile.has_group ("Shadows & Highlights")) {
|
||||
if (keyFile.has_group ("Shadows & Highlights") && ppVersion >= 333) {
|
||||
assignFromKeyfile(keyFile, "Shadows & Highlights", "Enabled", pedited, sh.enabled, pedited->sh.enabled);
|
||||
assignFromKeyfile(keyFile, "Shadows & Highlights", "Highlights", pedited, sh.highlights, pedited->sh.highlights);
|
||||
assignFromKeyfile(keyFile, "Shadows & Highlights", "HighlightTonalWidth", pedited, sh.htonalwidth, pedited->sh.htonalwidth);
|
||||
|
Reference in New Issue
Block a user