unconditionally set region quarter note in set_position().

- this fixes incorrect timing of new regions recorded
	  before the music origin.
This commit is contained in:
nick_m 2017-02-15 22:55:51 +11:00
parent 03dc458645
commit d9c7a2ad49

View file

@ -610,9 +610,9 @@ Region::set_position (framepos_t pos, int32_t sub_num)
} else {
if (!_session.loading()) {
_beat = _session.tempo_map().exact_beat_at_frame (pos, sub_num);
_quarter_note = _session.tempo_map().quarter_note_at_beat (_beat);
}
/* will set quarter note accordingly */
set_position_internal (pos, false, sub_num);
}