MidiImport - set tempo (#3409)

This commit is contained in:
Oskar Wallgren
2017-03-08 01:10:07 +01:00
committed by GitHub
parent 7a58cc305a
commit cded9fb735

View File

@@ -353,6 +353,10 @@ bool MidiImport::readSMF( TrackContainer* tc )
}
}
// Update the tempo to avoid crash when playing a project imported
// via the command line
Engine::updateFramesPerTick();
// Song events
for( int e = 0; e < seq->length(); ++e )
{