PianoRoll: removed duplicate function call in testPlayNote()

There's no need to send a MidiNotePanning event twice in
PianoRoll::testPlayNote(). Removed the duplicate function call.
This commit is contained in:
Tobias Doerffel
2009-08-05 12:28:36 +02:00
parent 6e3e1513c7
commit 4cdcd1a670

View File

@@ -1679,10 +1679,7 @@ void pianoRoll::testPlayNote( note * n )
panningToMidi( n->getPanning() ) );
evt.m_metaEvent = MidiNotePanning;
m_pattern->getInstrumentTrack()->processInEvent(
evt, midiTime() );
m_pattern->getInstrumentTrack()->processInEvent( evt,
midiTime() );
m_pattern->getInstrumentTrack()->processInEvent( evt, midiTime() );
}
}