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.
(cherry picked from commit 4cdcd1a670)
This commit is contained in:
Tobias Doerffel
2009-08-05 12:28:36 +02:00
parent 852976ed74
commit d536d851a4

View File

@@ -1671,10 +1671,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() );
}
}