mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-02 15:13:50 +01:00
copy envelope range from the source track rather than fixing it
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user