From 27cc37410cf3d0994f105fbadf135e6a43a440eb Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 8 May 2011 07:14:32 +0000 Subject: Draw event canvas notes if they extend past part end. --- muse2/ChangeLog | 2 ++ muse2/muse/midiedit/ecanvas.cpp | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'muse2') diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 154cdff7..ab11a07b 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,5 @@ +08.05.2011: + - Draw event canvas notes if they extend past part end. (Tim) 06.05.2011: - MusE 2.0beta2 released (rj) - Added Yamaha-CS1x.idf instrument from Ernie Rymer Thanks! (Tim) 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()) { -- cgit v1.2.3