Apply fix for 2546 from lincoln. Many thanks.
authorCarl Hetherington <carl@carlh.net>
Mon, 9 Feb 2009 03:34:48 +0000 (03:34 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 9 Feb 2009 03:34:48 +0000 (03:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4503 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/automation_list.cc

index 7be69337fc5c66db2f0abd67efa56c9bc94ba6b5..0066e71c3cae9d62c7e88fceb76ef7c9880f9b1e 100644 (file)
@@ -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) {