amend massive thinko in last commit (actually works).
This commit is contained in:
parent
bacb93493d
commit
9e048851c1
|
@ -111,7 +111,7 @@ MidiRegion::MidiRegion (boost::shared_ptr<const MidiRegion> other, frameoffset_t
|
|||
_start_beats = (_session.tempo_map().exact_qn_at_frame (other->_position + offset, sub_num) - other->_quarter_note) + other->_start_beats;
|
||||
update_length_beats (sub_num);
|
||||
/* we've potentially shifted _start_beats, now reset _start frames to match */
|
||||
_start = _session.tempo_map().frame_at_quarter_note (other->_quarter_note - other->_start_beats);
|
||||
_start = _session.tempo_map().frames_between_quarter_notes (_quarter_note - _start_beats, _quarter_note);
|
||||
}
|
||||
|
||||
register_properties ();
|
||||
|
|
Loading…
Reference in New Issue