diff options
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/muse/midiedit/scoreedit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp index d4915304..d2fd7730 100644 --- a/muse2/muse/midiedit/scoreedit.cpp +++ b/muse2/muse/midiedit/scoreedit.cpp @@ -1684,7 +1684,8 @@ void staff_t::create_appropriate_eventlist() { Event& event=it->second; - if ( (event.isNote() && !event.isNoteOff()) && + if ( ( event.isNote() && !event.isNoteOff() && + (event.endTick() <= part->lenTick()) ) && ( ((type==GRAND_TOP) && (event.pitch() >= SPLIT_NOTE)) || ((type==GRAND_BOTTOM) && (event.pitch() < SPLIT_NOTE)) || (type==NORMAL) ) ) |