prevent meter changes being dragged "through" a BBT marker
might want to do this for tempo drags too
This commit is contained in:
parent
ec34c2137d
commit
64458c2430
@ -1990,6 +1990,11 @@ TempoMap::move_meter (MeterPoint const & mp, timepos_t const & when, bool earlie
|
||||
prev_t = _tempos.begin();
|
||||
}
|
||||
|
||||
if (dynamic_cast<MusicTimePoint*> (&(*prev_t)) || dynamic_cast<MusicTimePoint*> (&(*prev_m))) {
|
||||
/* game over ... cannot drag meter through a BBT Marker */
|
||||
return false;
|
||||
}
|
||||
|
||||
metric = TempoMetric (*prev_t, *prev_m);
|
||||
beats = metric.quarters_at (bbt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user