diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 3c94382..f71ad68 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -1126,6 +1126,8 @@ void VLSong::ExtendNote(size_t measure, VLFraction at) k = fMeasures[++measure].fMelody.begin(); } } + if (measure+1 == fMeasures.size()) + AddMeasure(); } break; }