summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-06-06 15:43:53 +0000
committerFlorian Jung <flo@windfisch.org>2011-06-06 15:43:53 +0000
commit441642e7da807d506b794e5a62b7c2426bd7b95f (patch)
treec7112b19a97fd2fe052c6684cbde2c7af583950b /muse2
parentd9380293e430d47e03ef94a9914e200c297bc376 (diff)
parentba00330badbd1b4dbd0ffa37b0ea7cddc0a6657a (diff)
score editor now handles hidden notes properly
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/midiedit/scoreedit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp
index 9bfbaa45..f1c305d6 100644
--- a/muse2/muse/midiedit/scoreedit.cpp
+++ b/muse2/muse/midiedit/scoreedit.cpp
@@ -1681,7 +1681,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) ) )