fix time/position used when applying MIDI ops
This commit is contained in:
parent
8bd52c80dc
commit
75d6ea19c4
@ -5709,9 +5709,7 @@ Editor::apply_midi_note_edit_op_to_region (MidiOperator& op, MidiRegionView& mrv
|
|||||||
vector<Evoral::Sequence<Temporal::Beats>::Notes> v;
|
vector<Evoral::Sequence<Temporal::Beats>::Notes> v;
|
||||||
v.push_back (selected);
|
v.push_back (selected);
|
||||||
|
|
||||||
timepos_t pos = mrv.midi_region()->position().earlier (mrv.midi_region()->start ());
|
timepos_t pos = mrv.midi_region()->source_position();
|
||||||
|
|
||||||
#warning NUTEMPO triple check pos computation above to make sure we are doing this right
|
|
||||||
|
|
||||||
return op (mrv.midi_region()->model(), pos.beats(), v);
|
return op (mrv.midi_region()->model(), pos.beats(), v);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user