diff options
author | nick_m <mainsbridge@gmail.com> | 2017-02-15 22:55:51 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-02-15 22:55:51 +1100 |
commit | d9c7a2ad4959c97d2a830d7c30be8bc957dcd888 (patch) | |
tree | 18817f6c0edeff51e6d947ecbf73d4521f8edac0 /libs/ardour | |
parent | 03dc458645d6f8e7cbb7ea95d3e1f6143aac64ef (diff) |
unconditionally set region quarter note in set_position().
- this fixes incorrect timing of new regions recorded
before the music origin.
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/region.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 4cb5ab4dcb..8640b53a6e 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -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); } |