mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
Paste envelope in at the correct place
This commit is contained in:
parent
eb145b241c
commit
5c48047d0e
@ -1249,7 +1249,7 @@ bool WaveClip::Paste(double t0, WaveClip* other)
|
||||
if (mSequence->Paste(s0, other->mSequence))
|
||||
{
|
||||
MarkChanged();
|
||||
mEnvelope->Paste(t0, other->mEnvelope);
|
||||
mEnvelope->Paste((double)s0/mRate, other->mEnvelope);
|
||||
mEnvelope->RemoveUnneededPoints();
|
||||
OffsetCutLines(t0, other->GetEndTime()-other->GetStartTime());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user