diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-07 03:00:28 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-06-07 03:00:28 +1000 |
commit | 288ebbe5a77b2d16e8759823928007b3ecb82cc6 (patch) | |
tree | c966fe881d3624807091f3b5740146d6c96b48bc /libs/ardour/region.cc | |
parent | a0f0bdc063e81fd6f98fbcb1268538106cca753a (diff) |
Fix initialization of Region::_beat.
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r-- | libs/ardour/region.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<const Region> 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. |