mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix initialization of Region::_beat.
This commit is contained in:
parent
a0f0bdc063
commit
288ebbe5a7
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue