13
0

set a boolean flag as needed to break out of MIDI tempo map import

This commit is contained in:
Paul Davis 2021-05-08 18:38:39 -06:00
parent 78d56daf0a
commit 600e959db5

View File

@ -384,6 +384,7 @@ Editor::do_import (vector<string> paths,
if (!tempo_map_done && smf_tempo_disposition == SMFTempoUse) { if (!tempo_map_done && smf_tempo_disposition == SMFTempoUse) {
if (smf.num_tempos() > 0) { if (smf.num_tempos() > 0) {
import_smf_tempo_map (smf, pos); import_smf_tempo_map (smf, pos);
tempo_map_done = true;
} }
} }