commit 1223e0c9b3bd556ffc7703e590e6fef4fa5ac0e4
parent abe236c03d0234ddf68e098a98981461d4835c58
Author: Christopher A. Oliver <oliver@onion.private>
Date: Wed, 30 Sep 2015 11:11:04 -0400
Reference the right kit for initializing note.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp
@@ -450,13 +450,13 @@ void Part::NoteOn(unsigned char note,
if(item.Padenabled)
notePool.insertNote(note, sendto,
- {memory.alloc<ADnote>(kit[0].adpars, pars), 0, i});
+ {memory.alloc<ADnote>(kit[i].adpars, pars), 0, i});
if(item.Psubenabled)
notePool.insertNote(note, sendto,
- {memory.alloc<SUBnote>(kit[0].subpars, pars), 1, i});
+ {memory.alloc<SUBnote>(kit[i].subpars, pars), 1, i});
if(item.Ppadenabled)
notePool.insertNote(note, sendto,
- {memory.alloc<PADnote>(kit[0].padpars, pars, interpolation), 2, i});
+ {memory.alloc<PADnote>(kit[i].padpars, pars, interpolation), 2, i});
//Partial Kit Use
if(isNonKit() || (isSingleKit() && item.active()))