From 75d6ea19c4dd7fb75d09d22da4c020dbe9a60ad0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Dec 2020 17:48:42 -0700 Subject: [PATCH] fix time/position used when applying MIDI ops --- gtk2_ardour/editor_ops.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index e8a30494d7..d14df25140 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -5709,9 +5709,7 @@ Editor::apply_midi_note_edit_op_to_region (MidiOperator& op, MidiRegionView& mrv vector::Notes> v; v.push_back (selected); - timepos_t pos = mrv.midi_region()->position().earlier (mrv.midi_region()->start ()); - -#warning NUTEMPO triple check pos computation above to make sure we are doing this right + timepos_t pos = mrv.midi_region()->source_position(); return op (mrv.midi_region()->model(), pos.beats(), v); }