mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Bug1719: crash left-stretching one Midi track synced to another...
... Fixed by making the cutting of a Note track always have 0 offset; as is also the case for cuttings of other types of tracks.
This commit is contained in:
parent
ab9bb2ae29
commit
76a9962a5e
@ -470,7 +470,7 @@ Track::Holder NoteTrack::Cut(double t0, double t1)
|
||||
auto &seq = GetSeq();
|
||||
seq.convert_to_seconds();
|
||||
newTrack->mSeq.reset(seq.cut(t0 - GetOffset(), len, false));
|
||||
newTrack->SetOffset(GetOffset());
|
||||
newTrack->SetOffset(0);
|
||||
|
||||
// Not needed
|
||||
// Alg_seq::cut seems to handle this
|
||||
|
Loading…
x
Reference in New Issue
Block a user