mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
unconditionally set region quarter note in set_position().
- this fixes incorrect timing of new regions recorded before the music origin.
This commit is contained in:
parent
03dc458645
commit
d9c7a2ad49
1 changed files with 1 additions and 1 deletions
|
|
@ -610,9 +610,9 @@ Region::set_position (framepos_t pos, int32_t sub_num)
|
|||
} else {
|
||||
if (!_session.loading()) {
|
||||
_beat = _session.tempo_map().exact_beat_at_frame (pos, sub_num);
|
||||
_quarter_note = _session.tempo_map().quarter_note_at_beat (_beat);
|
||||
}
|
||||
|
||||
/* will set quarter note accordingly */
|
||||
set_position_internal (pos, false, sub_num);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue