From: Good Guy Date: Sat, 5 Jan 2019 22:33:57 +0000 (-0700) Subject: fast drag mode honours follow_edits labels/plugins/keyframes X-Git-Tag: 2019-08~126 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=1cd1ac7ef2a8f250bb4fa35af4d925bae98534ae;p=goodguy%2Fcinelerra.git fast drag mode honours follow_edits labels/plugins/keyframes --- diff --git a/cinelerra-5.1/cinelerra/mwindowedit.C b/cinelerra-5.1/cinelerra/mwindowedit.C index 99c666f1..7a6cbeb4 100644 --- a/cinelerra-5.1/cinelerra/mwindowedit.C +++ b/cinelerra-5.1/cinelerra/mwindowedit.C @@ -1135,13 +1135,16 @@ void MWindow::move_edits(ArrayList *edits, { undo->update_undo_before(); - edl->tracks->move_edits(edits, - track, - position, + EDL *clip = selected_edits_to_clip(1, 0, 0, edl->session->labels_follow_edits, - edl->session->plugins_follow_edits, edl->session->autos_follow_edits, - behaviour); + edl->session->plugins_follow_edits); + edl->delete_edits(edits, 0); + paste_edits(clip, track, position, behaviour, 1, + edl->session->labels_follow_edits, + edl->session->autos_follow_edits, + edl->session->plugins_follow_edits); + edl->tracks->clear_selected_edits(); save_backup(); undo->update_undo_after(_("move edit"), LOAD_ALL);