tempo map: fix logic error in ::reset_starting_at() relating to tempo/bbt markers

This commit is contained in:
Paul Davis 2022-08-17 16:27:28 -06:00
parent 6784f0e5dc
commit 025dfa6062
1 changed files with 1 additions and 0 deletions

View File

@ -1151,6 +1151,7 @@ TempoMap::reset_starting_at (superclock_t sc)
metric = TempoMetric (*mtp, *mtp);
DEBUG_TRACE (DEBUG::MapReset, string_compose ("Bartime!, used tempo @ %1\n", (TempoPoint*) mtp));
need_initial_ramp_reset = false;
} else if ((tp = dynamic_cast<TempoPoint*> (&*p)) != 0) {
metric = TempoMetric (*tp, metric.meter());
if (tp->ramped()) {