- edl->local_session->unset_outpoint();
- gui->timebar->update(1);
- }
-}
-
-void VWindow::copy()
-{
- EDL *edl = get_edl();
- if(edl)
- {
- double start = edl->local_session->get_selectionstart();
- double end = edl->local_session->get_selectionend();
+ double start = all ? 0 :
+ edl->local_session->get_selectionstart();
+ double end = all ? edl->tracks->total_length() :
+ edl->local_session->get_selectionend();
+ EDL *copy_edl = new EDL; // no parent or assets wont be copied
+ copy_edl->create_objects();
+ copy_edl->copy_all(edl);