mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
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()
This commit is contained in:
parent
b1bf1fe34c
commit
a37a75a05c
1 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue