Solving issue 2732: "Command-line option to use default (non)raw PP3 does not work"

This commit is contained in:
Hombre
2015-04-06 23:18:32 +02:00
parent 5ee2bf9431
commit 55af95b15b
7 changed files with 13 additions and 21 deletions

View File

@@ -630,15 +630,10 @@ void PartialPasteDlg::metaicmToggled () {
void PartialPasteDlg::applyPaste (rtengine::procparams::ProcParams* dstPP, ParamsEdited* dstPE, const rtengine::procparams::ProcParams* srcPP, const ParamsEdited* srcPE) {
ParamsEdited falsePE; // falsePE is a workaround to set a group of ParamsEdited to false
ParamsEdited filterPE; // Contains the initial information about the loaded values
ParamsEdited filterPE; // Contains the initial information about the loaded values ; filterPE is set to TRUE (default) so everything has to be copied
if (srcPE) {
filterPE = *srcPE;
}
else {
// By default, everything has to be copied
filterPE.set(true);
}
// the general section is always ignored, whichever operation we use the PartialPaste for
filterPE.general = falsePE.general;