From 288ebbe5a77b2d16e8759823928007b3ecb82cc6 Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 7 Jun 2016 03:00:28 +1000 Subject: Fix initialization of Region::_beat. --- libs/ardour/region.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/region.cc') diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 4f83590a98..814f24c52a 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -343,6 +343,7 @@ Region::Region (boost::shared_ptr other, frameoffset_t offset) set_master_sources (other->_master_sources); _start = other->_start + offset; + _beat = _session.tempo_map().beat_at_frame (_position); /* if the other region had a distinct sync point set, then continue to use it as best we can. -- cgit v1.2.3