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:
parent
1f20953704
commit
f87b5dd23e
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue