Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent.
This commit is contained in:
parent
e689182a6a
commit
658699e318
@ -677,7 +677,7 @@ Region::set_position_internal (framepos_t pos, bool allow_bbt_recompute, const i
|
|||||||
recompute_position_from_lock_style (sub_num);
|
recompute_position_from_lock_style (sub_num);
|
||||||
} else {
|
} else {
|
||||||
/* MusicTime dictates that we glue to ardour beats. the pulse may have changed.*/
|
/* MusicTime dictates that we glue to ardour beats. the pulse may have changed.*/
|
||||||
_pulse = _session.tempo_map().exact_qn_at_frame (_position, sub_num) / 4.0;
|
_pulse = _session.tempo_map().pulse_at_beat (_beat);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check that the new _position wouldn't make the current
|
/* check that the new _position wouldn't make the current
|
||||||
|
Loading…
Reference in New Issue
Block a user