summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_list.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-05-31 17:13:47 +0200
committerRobin Gareus <robin@gareus.org>2014-05-31 17:13:47 +0200
commitf382aef5ac44eee1075e253eadaec220aa82f711 (patch)
tree81b76ad926ebd9b175d4a2a4e484a4104b4fb80d /libs/ardour/automation_list.cc
parent3b717da78378ebc7b97250a06fccf38e11cd3ace (diff)
do not thin() automation event list on load.
only thin() when writing automation. This fixes issues with loading short x-fades (which can be stretched later). TODO: thinning should not just drop, but interpolate and use more elaborate logic, compared to A2/MB2 Curve::merge_nascent()
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r--libs/ardour/automation_list.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc
index 83df92488b..32e69af7ae 100644
--- a/libs/ardour/automation_list.cc
+++ b/libs/ardour/automation_list.cc
@@ -346,8 +346,6 @@ AutomationList::deserialize_events (const XMLNode& node)
fast_simple_add (x, y);
}
- thin ();
-
if (!ok) {
clear ();
error << _("automation list: cannot load coordinates from XML, all points ignored") << endmsg;
@@ -410,9 +408,7 @@ AutomationList::set_state (const XMLNode& node, int version)
fast_simple_add (x, y);
}
- thin ();
-
- thaw ();
+ thaw ();
return 0;
}