update retinexadd with master 4d6833c
This commit is contained in:
@@ -351,6 +351,7 @@ void ParamsEdited::set (bool v)
|
||||
icm.dcpIlluminant = v;
|
||||
icm.working = v;
|
||||
icm.output = v;
|
||||
icm.outputIntent = v;
|
||||
icm.gamma = v;
|
||||
icm.freegamma = v;
|
||||
icm.gampos = v;
|
||||
@@ -840,6 +841,7 @@ void ParamsEdited::initFrom (const std::vector<rtengine::procparams::ProcParams>
|
||||
icm.dcpIlluminant = icm.dcpIlluminant && p.icm.dcpIlluminant == other.icm.dcpIlluminant;
|
||||
icm.working = icm.working && p.icm.working == other.icm.working;
|
||||
icm.output = icm.output && p.icm.output == other.icm.output;
|
||||
icm.outputIntent = icm.outputIntent && p.icm.outputIntent == other.icm.outputIntent;
|
||||
icm.gamma = icm.gamma && p.icm.gamma == other.icm.gamma;
|
||||
icm.freegamma = icm.freegamma && p.icm.freegamma == other.icm.freegamma;
|
||||
icm.gampos = icm.gampos && p.icm.gampos == other.icm.gampos;
|
||||
@@ -2193,6 +2195,10 @@ void ParamsEdited::combine (rtengine::procparams::ProcParams& toEdit, const rten
|
||||
toEdit.icm.output = mods.icm.output;
|
||||
}
|
||||
|
||||
if (icm.outputIntent) {
|
||||
toEdit.icm.outputIntent = mods.icm.outputIntent;
|
||||
}
|
||||
|
||||
//if (icm.gampos) toEdit.icm.gampos = mods.icm.gampos;
|
||||
//if (icm.slpos) toEdit.icm.slpos = mods.icm.slpos;
|
||||
if (icm.gampos) {
|
||||
|
Reference in New Issue
Block a user