13
0

ensure region _quarter_note is set in offset ctor..

This commit is contained in:
nick_m 2017-01-31 02:56:41 +11:00
parent 970ed12fee
commit 2ddc21c3a9

View File

@ -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