summaryrefslogtreecommitdiff
path: root/muse2/muse/song.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-10-13 14:37:39 +0000
committerFlorian Jung <flo@windfisch.org>2011-10-13 14:37:39 +0000
commit1c547a97cf011a07fa7269df343820470856dd36 (patch)
tree94554ba4aa1a4d8c91470b3705dc1ba169ace670 /muse2/muse/song.cpp
parentd3a9aa4568b325c183b758f6d05a1af4a457b245 (diff)
Song::remapPortDrumCtrlEvents() now also processes hidden events
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r--muse2/muse/song.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index c9efe288..98ad007a 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -635,9 +635,10 @@ void Song::remapPortDrumCtrlEvents(int mapidx, int newnote, int newchan, int new
{
const Event& ev = ie->second;
// Added by T356. Do not handle events which are past the end of the part.
- //FINDMICHJETZT why not?
- if(ev.tick() >= len)
- break;
+ // Commented out by flo: yes, DO handle them! these are "hidden events"
+ // which may be revealed later again!
+ // if(ev.tick() >= len)
+ // break;
if(ev.type() != Controller)
continue;