Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor.

This commit is contained in:
nick_m 2016-06-17 03:20:37 +10:00
parent 94e0a15325
commit 93c24e4433
20 changed files with 59 additions and 50 deletions

View file

@ -122,7 +122,7 @@ public:
void resolve_note(uint8_t note_num, Evoral::Beats end_time);
void cut_copy_clear (Editing::CutCopyOp);
bool paste (framepos_t pos, const ::Selection& selection, PasteContext& ctx);
bool paste (framepos_t pos, const ::Selection& selection, PasteContext& ctx, const int32_t& sub_num);
void paste_internal (framepos_t pos, unsigned paste_count, float times, const MidiCutBuffer&);
void add_canvas_patch_change (ARDOUR::MidiModel::PatchChangePtr patch, const std::string& displaytext, bool);