mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
fix yet another meter-locked tempo ordering thinko.
This commit is contained in:
parent
deb059ff0d
commit
109cd269b4
1 changed files with 4 additions and 13 deletions
|
|
@ -2658,13 +2658,11 @@ TempoMap::solve_map_minute (Metrics& imaginary, TempoSection* section, const dou
|
|||
if (prev_t && !section_prev && ((sml && tlm && t->pulse() > section->pulse()) || (!tlm && t->minute() > minute))) {
|
||||
section_prev = prev_t;
|
||||
|
||||
if (t->locked_to_meter()) {
|
||||
section_prev->set_c_func (section_prev->compute_c_func_minute (section->note_types_per_minute(), minute));
|
||||
if (!section->locked_to_meter()) {
|
||||
section->set_pulse (section_prev->pulse_at_ntpm (section->note_types_per_minute(), minute));
|
||||
}
|
||||
prev_t = section;
|
||||
section_prev->set_c_func (section_prev->compute_c_func_minute (section->note_types_per_minute(), minute));
|
||||
if (!section->locked_to_meter()) {
|
||||
section->set_pulse (section_prev->pulse_at_ntpm (section->note_types_per_minute(), minute));
|
||||
}
|
||||
prev_t = section;
|
||||
}
|
||||
|
||||
if (t->position_lock_style() == MusicTime) {
|
||||
|
|
@ -2681,13 +2679,6 @@ TempoMap::solve_map_minute (Metrics& imaginary, TempoSection* section, const dou
|
|||
}
|
||||
}
|
||||
|
||||
if (section_prev) {
|
||||
section_prev->set_c_func (section_prev->compute_c_func_minute (section->note_types_per_minute(), minute));
|
||||
if (!section->locked_to_meter()) {
|
||||
section->set_pulse (section_prev->pulse_at_ntpm (section->note_types_per_minute(), minute));
|
||||
}
|
||||
}
|
||||
|
||||
#if (0)
|
||||
recompute_tempi (imaginary);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue