Call Histogram matching only if necessary, #4674

This commit is contained in:
heckflosse
2018-07-08 20:24:17 +02:00
parent 786cd10ca0
commit eeebe587ba
15 changed files with 49 additions and 11 deletions

View File

@@ -651,6 +651,7 @@ void ICMPanel::write (ProcParams* pp, ParamsEdited* pedited)
pp->icm.gampos = (double) gampos->getValue();
pp->icm.slpos = (double) slpos->getValue();
pp->icm.outputBPC = obpc->get_active ();
pp->toneCurve.fromHistMatching = false;
if (pedited) {
pedited->icm.input = !iunchanged->get_active ();