summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_list.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-02-09 03:34:48 +0000
committerCarl Hetherington <carl@carlh.net>2009-02-09 03:34:48 +0000
commitfcfe073b0046732a93fe8b2826eff2e1e90bfc54 (patch)
treea1ef14914c4179d8ebc15714fae5ac361b455066 /libs/ardour/automation_list.cc
parentb6b366b631cc0ee60df8e6e9bb7a9acdac7d0402 (diff)
Apply fix for 2546 from lincoln. Many thanks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4503 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r--libs/ardour/automation_list.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc
index 7be69337fc..0066e71c3c 100644
--- a/libs/ardour/automation_list.cc
+++ b/libs/ardour/automation_list.cc
@@ -65,6 +65,7 @@ AutomationList::AutomationList (Evoral::Parameter id)
AutomationList::AutomationList (const AutomationList& other)
: ControlList(other)
{
+ _style = other._style;
_state = other._state;
_touching = other._touching;
@@ -232,7 +233,7 @@ AutomationList::state (bool full)
root->add_property ("max-yval", buf);
snprintf (buf, sizeof (buf), "%.12g", _max_xval);
root->add_property ("max-xval", buf);
-
+
root->add_property ("interpolation-style", enum_2_string (_interpolation));
if (full) {