From a37a75a05ca9d221f72a9dcd8c2161ed0ad33db3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 31 May 2014 17:13:47 +0200 Subject: [PATCH] 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() --- libs/ardour/automation_list.cc | 6 +----- 1 file changed, 1 insertion(+), 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; }