mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
ensure region _quarter_note is set in offset ctor..
This commit is contained in:
parent
970ed12fee
commit
2ddc21c3a9
1 changed files with 2 additions and 0 deletions
|
|
@ -360,6 +360,8 @@ Region::Region (boost::shared_ptr<const Region> other, MusicFrame offset)
|
|||
|
||||
_quarter_note = other->_quarter_note + offset_qn;
|
||||
_beat = _session.tempo_map().beat_at_quarter_note (_quarter_note);
|
||||
} else {
|
||||
_quarter_note = _session.tempo_map().quarter_note_at_beat (_beat);
|
||||
}
|
||||
|
||||
/* if the other region had a distinct sync point
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue