1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

copy envelope range from the source track rather than fixing it

This commit is contained in:
RichardAsh1981@gmail.com 2012-12-30 17:30:03 +00:00
parent 2326bb8347
commit b7bd3c3469

View File

@ -67,7 +67,7 @@ TimeTrack::TimeTrack(TimeTrack &orig):
mEnvelope->Flatten(1.0);
mEnvelope->Mirror(false);
mEnvelope->SetOffset(0);
mEnvelope->SetRange(0.1, 10.0);
mEnvelope->SetRange(orig.GetMinValue(), orig.GetMaxValue());
mEnvelope->Paste(0.0, orig.mEnvelope);
mRuler = new Ruler();