Merge branch 'master' into pixelshift
This commit is contained in:
@@ -5475,7 +5475,7 @@ int ProcParams::load (const Glib::ustring &fname, ParamsEdited* pedited)
|
||||
}
|
||||
|
||||
if (keyFile.has_key ("Crop", "W")) {
|
||||
crop.w = keyFile.get_integer ("Crop", "W");
|
||||
crop.w = std::max(keyFile.get_integer("Crop", "W"), 1);
|
||||
|
||||
if (pedited) {
|
||||
pedited->crop.w = true;
|
||||
@@ -5483,7 +5483,7 @@ int ProcParams::load (const Glib::ustring &fname, ParamsEdited* pedited)
|
||||
}
|
||||
|
||||
if (keyFile.has_key ("Crop", "H")) {
|
||||
crop.h = keyFile.get_integer ("Crop", "H");
|
||||
crop.h = std::max(keyFile.get_integer("Crop", "H"), 1);
|
||||
|
||||
if (pedited) {
|
||||
pedited->crop.h = true;
|
||||
|
||||
Reference in New Issue
Block a user