mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +02:00
Martyn's fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=474
This commit is contained in:
parent
e42d9242cd
commit
3b90ee098e
@ -1255,7 +1255,7 @@ bool WaveClip::Paste(double t0, WaveClip* other)
|
||||
if (mSequence->Paste(s0, pastedClip->mSequence))
|
||||
{
|
||||
MarkChanged();
|
||||
mEnvelope->Paste((double)s0/mRate, pastedClip->mEnvelope);
|
||||
mEnvelope->Paste((double)s0/mRate + mOffset, pastedClip->mEnvelope);
|
||||
mEnvelope->RemoveUnneededPoints();
|
||||
OffsetCutLines(t0, pastedClip->GetEndTime() - pastedClip->GetStartTime());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user