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()
fast_simple_add (x, y);
}
- thin ();
-
if (!ok) {
clear ();
error << _("automation list: cannot load coordinates from XML, all points ignored") << endmsg;
fast_simple_add (x, y);
}
- thin ();
-
- thaw ();
+ thaw ();
return 0;
}