Blend CMS with matrix feature
see issue 951
This commit is contained in:
@@ -146,6 +146,7 @@ void ParamsEdited::set (bool v) {
|
||||
resize.enabled = v;
|
||||
icm.input = v;
|
||||
icm.gammaOnInput = v;
|
||||
icm.blendCMSMatrix = v;
|
||||
icm.working = v;
|
||||
icm.output = v;
|
||||
icm.gamma = v;
|
||||
@@ -321,6 +322,7 @@ void ParamsEdited::initFrom (const std::vector<rtengine::procparams::ProcParams>
|
||||
resize.enabled = resize.enabled && p.resize.enabled == other.resize.enabled;
|
||||
icm.input = icm.input && p.icm.input == other.icm.input;
|
||||
icm.gammaOnInput = icm.gammaOnInput && p.icm.gammaOnInput == other.icm.gammaOnInput;
|
||||
icm.blendCMSMatrix = icm.blendCMSMatrix && p.icm.blendCMSMatrix == other.icm.blendCMSMatrix;
|
||||
icm.working = icm.working && p.icm.working == other.icm.working;
|
||||
icm.output = icm.output && p.icm.output == other.icm.output;
|
||||
icm.gamma = icm.gamma && p.icm.gamma == other.icm.gamma;
|
||||
@@ -486,6 +488,7 @@ void ParamsEdited::combine (rtengine::procparams::ProcParams& toEdit, const rten
|
||||
if (resize.enabled) toEdit.resize.enabled = mods.resize.enabled;
|
||||
if (icm.input) toEdit.icm.input = mods.icm.input;
|
||||
if (icm.gammaOnInput) toEdit.icm.gammaOnInput = mods.icm.gammaOnInput;
|
||||
if (icm.blendCMSMatrix) toEdit.icm.blendCMSMatrix = mods.icm.blendCMSMatrix;
|
||||
if (icm.working) toEdit.icm.working = mods.icm.working;
|
||||
if (icm.output) toEdit.icm.output = mods.icm.output;
|
||||
if (icm.gampos) toEdit.icm.gampos = mods.icm.gampos;
|
||||
|
Reference in New Issue
Block a user