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

@@ -281,6 +281,7 @@ struct ToneCurveParams {
int hlcompr; // Highlight Recovery's compression
int hlcomprthresh; // Highlight Recovery's threshold
bool histmatching; // histogram matching
bool fromHistMatching;
bool clampOOG; // clamp out of gamut colours
ToneCurveParams();
@@ -1516,7 +1517,7 @@ public:
void clearGeneral();
int load(const Glib::ustring& fName);
void set(bool v);
void applyTo(ProcParams* destParams) const ;
void applyTo(ProcParams* destParams, bool fromLastSaved = false) const ;
rtengine::procparams::ProcParams* pparams;
ParamsEdited* pedited;