diff options
Diffstat (limited to 'libs/ardour/midi_region.cc')
-rw-r--r-- | libs/ardour/midi_region.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/ardour/midi_region.cc b/libs/ardour/midi_region.cc index bdf24f5e08..b1c332072e 100644 --- a/libs/ardour/midi_region.cc +++ b/libs/ardour/midi_region.cc @@ -192,10 +192,6 @@ void MidiRegion::set_length_internal (framecnt_t len) { Region::set_length_internal (len); - /* XX this seems wrong. we asked to set the length in - frames without requesting a new beat. - may cause beat drift due to frame rounding. - */ update_length_beats (); } @@ -229,11 +225,10 @@ MidiRegion::set_position_internal (framepos_t pos, bool allow_bbt_recompute) Region::set_position_internal (pos, allow_bbt_recompute); /* leave _length_beats alone, and change _length to reflect the state of things - at the new position (tempo map may dictate a different number of frames + at the new position (tempo map may dictate a different number of frames). */ BeatsFramesConverter converter (_session.tempo_map(), _position); Region::set_length_internal (converter.to (_length_beats)); - send_change (Properties::length); } framecnt_t |