don't distort xfades when changing their length substantially

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12287 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-15 12:15:14 +00:00
parent 1f20953704
commit f87b5dd23e
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ AutomationList::extend_to (double when)
void AutomationList::_x_scale (double factor)
{
for (AutomationList::iterator i = events.begin(); i != events.end(); ++i) {
(*i)->when = floor ((*i)->when * factor);
(*i)->when *= factor;
}
mark_dirty ();