merge with dev
This commit is contained in:
@@ -280,6 +280,7 @@ void ParamsEdited::set(bool v)
|
||||
fattal.enabled = v;
|
||||
fattal.threshold = v;
|
||||
fattal.amount = v;
|
||||
fattal.anchor = v;
|
||||
sh.enabled = v;
|
||||
sh.hq = v;
|
||||
sh.highlights = v;
|
||||
@@ -957,6 +958,7 @@ void ParamsEdited::initFrom(const std::vector<rtengine::procparams::ProcParams>&
|
||||
fattal.enabled = fattal.enabled && p.fattal.enabled == other.fattal.enabled;
|
||||
fattal.threshold = fattal.threshold && p.fattal.threshold == other.fattal.threshold;
|
||||
fattal.amount = fattal.amount && p.fattal.amount == other.fattal.amount;
|
||||
fattal.anchor = fattal.anchor && p.fattal.anchor == other.fattal.anchor;
|
||||
|
||||
sh.enabled = sh.enabled && p.sh.enabled == other.sh.enabled;
|
||||
sh.hq = sh.hq && p.sh.hq == other.sh.hq;
|
||||
@@ -2303,6 +2305,9 @@ void ParamsEdited::combine(rtengine::procparams::ProcParams& toEdit, const rteng
|
||||
|
||||
if (fattal.amount) {
|
||||
toEdit.fattal.amount = mods.fattal.amount;
|
||||
}
|
||||
if (fattal.anchor) {
|
||||
toEdit.fattal.anchor = mods.fattal.anchor;
|
||||
}
|
||||
|
||||
if (sh.enabled) {
|
||||
|
Reference in New Issue
Block a user