MidiImport - set tempo (#3409)
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user