mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 07:28:17 +01:00
clear up _initial vs _locked_to_meter TempoSection ambiguity.
This commit is contained in:
parent
28058f6302
commit
ce54a23a36
1 changed files with 3 additions and 3 deletions
|
|
@ -1462,7 +1462,7 @@ TempoMap::recompute_meters (Metrics& metrics)
|
|||
TempoSection* t;
|
||||
if ((*ii)->is_tempo()) {
|
||||
t = static_cast<TempoSection*> (*ii);
|
||||
if ((t->locked_to_meter() || t->initial()) && t->frame() == meter->frame()) {
|
||||
if (t->locked_to_meter() && t->frame() == meter->frame()) {
|
||||
meter_locked_tempo = t;
|
||||
break;
|
||||
}
|
||||
|
|
@ -2824,7 +2824,7 @@ TempoMap::solve_map_minute (Metrics& imaginary, MeterSection* section, const dou
|
|||
TempoSection* t;
|
||||
if ((*ii)->is_tempo()) {
|
||||
t = static_cast<TempoSection*> (*ii);
|
||||
if ((t->locked_to_meter() || t->initial()) && t->frame() == section->frame()) {
|
||||
if (t->locked_to_meter() && t->frame() == section->frame()) {
|
||||
meter_locked_tempo = t;
|
||||
break;
|
||||
}
|
||||
|
|
@ -3000,7 +3000,7 @@ TempoMap::solve_map_bbt (Metrics& imaginary, MeterSection* section, const BBT_Ti
|
|||
TempoSection* t;
|
||||
if ((*ii)->is_tempo()) {
|
||||
t = static_cast<TempoSection*> (*ii);
|
||||
if ((t->locked_to_meter() || t->initial()) && t->frame() == m->frame()) {
|
||||
if (t->locked_to_meter() && t->frame() == m->frame()) {
|
||||
meter_locked_tempo = t;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue