Fix Crash when Reversing Empty MIDI Clip (#7893)
This commit is contained in:
@@ -326,6 +326,8 @@ void MidiClip::setStep( int step, bool enabled )
|
||||
|
||||
void MidiClip::reverseNotes(const NoteVector& notes)
|
||||
{
|
||||
if (notes.empty()) { return; }
|
||||
|
||||
addJournalCheckPoint();
|
||||
|
||||
// Find the very first start position and the very last end position of all the notes.
|
||||
|
||||
Reference in New Issue
Block a user