diff options
author | Tim E. Real <termtech@rogers.com> | 2011-05-08 07:14:32 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-05-08 07:14:32 +0000 |
commit | 27cc37410cf3d0994f105fbadf135e6a43a440eb (patch) | |
tree | 130b9bc4de2946cd1d86c67d46c0cfe866e35af9 /muse2/muse | |
parent | 498d1258372f29f717b538191bba7c2812e787c0 (diff) |
Draw event canvas notes if they extend past part end.
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/midiedit/ecanvas.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/midiedit/ecanvas.cpp b/muse2/muse/midiedit/ecanvas.cpp index 388fb962..7a421411 100644 --- a/muse2/muse/midiedit/ecanvas.cpp +++ b/muse2/muse/midiedit/ecanvas.cpp @@ -170,8 +170,9 @@ void EventCanvas::songChanged(int flags) for (iEvent i = el->begin(); i != el->end(); ++i) { Event e = i->second; // Added by T356. Do not add events which are either past, or extend past the end of the part. - //if(e.tick() > len) - if(e.endTick() > len) + // Reverted to just events which are past. p4.0.24 + if(e.tick() > len) + //if(e.endTick() > len) break; if (e.isNote()) { |