X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fcurve.cc;h=8465094775b8f6cca356061fa6fbbfeb253467cd;hb=f21094937a2ae7dae7929de3ed883d93ed12b66b;hp=977b6dfd7be5088fc88df669e594497e57564a71;hpb=912da52a539981193941d8739fa6f103b5e406db;p=ardour.git diff --git a/libs/ardour/curve.cc b/libs/ardour/curve.cc index 977b6dfd7b..8465094775 100644 --- a/libs/ardour/curve.cc +++ b/libs/ardour/curve.cc @@ -41,7 +41,7 @@ using namespace sigc; using namespace PBD; Curve::Curve (double minv, double maxv, double canv, bool nostate) - : AutomationList (canv, nostate) + : AutomationList (canv) { min_yval = minv; max_yval = maxv; @@ -61,6 +61,11 @@ Curve::Curve (const Curve& other, double start, double end) max_yval = other.max_yval; } +Curve::Curve (const XMLNode& node) + : AutomationList (node) +{ +} + Curve::~Curve () { } @@ -430,14 +435,6 @@ Curve::point_factory (const ControlEvent& other) const return new CurvePoint (other.when, other.value); } -Change -Curve::restore_state (StateManager::State& state) -{ - mark_dirty (); - return AutomationList::restore_state (state); -} - - extern "C" { void