Do not treat changes of tonecurve.fromHistMatching as related to panning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user