Suppress midi in events on export (#3778)

This commit is contained in:
Oskar Wallgren
2017-09-12 10:28:38 +02:00
committed by GitHub
parent cfb7a89f0e
commit f26a02da04

View File

@@ -237,6 +237,11 @@ MidiEvent InstrumentTrack::applyMasterKey( const MidiEvent& event )
void InstrumentTrack::processInEvent( const MidiEvent& event, const MidiTime& time, f_cnt_t offset )
{
if( Engine::getSong()->isExporting() )
{
return;
}
bool eventHandled = false;
switch( event.type() )