X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Ffloatauto.C;h=8e3e63682af1a56e43d3d474bb3f8076d9909041;hb=502b6f3b6fd04f6b01c6d70dcb81aa304dd0db1c;hp=bab8160f28675345819dacd269665e5de85fc78e;hpb=4f7f413cbc1c6ea5da27cb75ca27a3ab317243ec;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/floatauto.C b/cinelerra-5.1/cinelerra/floatauto.C index bab8160f..8e3e6368 100644 --- a/cinelerra-5.1/cinelerra/floatauto.C +++ b/cinelerra-5.1/cinelerra/floatauto.C @@ -74,6 +74,18 @@ int FloatAuto::identical(FloatAuto *src) // curve_mode is ignored, no recalculations } +// exactly equals +int FloatAuto::equals(FloatAuto *that) +{ + return this->value == that->value && + this->control_in_value == that->control_in_value && + this->control_out_value == that->control_out_value && + this->control_in_position == that->control_in_position && + this->control_out_position == that->control_out_position && + this->curve_mode == that->curve_mode; +} + + /* Note: the following is essentially display-code and has been moved to: * TrackCanvas::value_to_percentage(float auto_value, int autogrouptype) *