From 658699e318a79bf619dbc8ab43bdb8168e8bd9d4 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 2 Sep 2016 05:13:53 +1000 Subject: [PATCH] Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent. --- libs/ardour/region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 05f79271d5..3bd0bd273c 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -677,7 +677,7 @@ Region::set_position_internal (framepos_t pos, bool allow_bbt_recompute, const i recompute_position_from_lock_style (sub_num); } else { /* 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