Do not treat changes of tonecurve.fromHistMatching as related to panning

This commit is contained in:
Ingo Weyrich
2019-08-29 21:04:56 +02:00
parent 061bf713c8
commit 1ff505432c
3 changed files with 25 additions and 1 deletions

View File

@@ -330,6 +330,29 @@ ToneCurveParams::ToneCurveParams() :
{
}
bool ToneCurveParams::isPanningRelatedChange(const ToneCurveParams& other) const
{
return !
(autoexp == other.autoexp
&& clip == other.clip
&& hrenabled == other.hrenabled
&& method == other.method
&& expcomp == other.expcomp
&& curve == other.curve
&& curve2 == other.curve2
&& curveMode == other.curveMode
&& curveMode2 == other.curveMode2
&& brightness == other.brightness
&& black == other.black
&& contrast == other.contrast
&& saturation == other.saturation
&& shcompr == other.shcompr
&& hlcompr == other.hlcompr
&& hlcomprthresh == other.hlcomprthresh
&& histmatching == other.histmatching
&& clampOOG == other.clampOOG);
}
bool ToneCurveParams::operator ==(const ToneCurveParams& other) const
{
return