track->plugin_set[i] = dst_plugin_set;
}
Plugin *plugin = (Plugin *)plugin_set->first;
+ if( plugin ) track->expand_view = 1;
for( ; plugin; plugin=(Plugin *)plugin->next ) {
int64_t start = pos + plugin->startproject;
int64_t end = start + plugin->length;
track->optimize();
src = src->next;
}
- edl->tracks->clear_selected_edits();
+// big debate over whether to do this, must either clear selected, or no tweaking
+// edl->tracks->clear_selected_edits();
save_backup();
undo->update_undo_after(_("move group"), LOAD_ALL);
}
else
// Move plugin
- if(drag_start && plugin->track->record) {
- if(mwindow->edl->session->editing_mode == EDITING_ARROW) {
- if(plugin->track->data_type == TRACK_AUDIO)
+ if( drag_start && plugin->track->record && !plugin->silence() ) {
+ if( mwindow->edl->session->editing_mode == EDITING_ARROW ) {
+ if( plugin->track->data_type == TRACK_AUDIO )
mwindow->session->current_operation = DRAG_AEFFECT_COPY;
- else if(plugin->track->data_type == TRACK_VIDEO)
+ else if( plugin->track->data_type == TRACK_VIDEO )
mwindow->session->current_operation = DRAG_VEFFECT_COPY;
mwindow->session->drag_plugin = plugin;