Massive Code cleanup:
[blender-staging.git] / source / blender / editors / space_sequencer / sequencer_edit.c
index 778bddb545acdccecdd12dde6138f91b762d32f6..072cfa0062233c552e0188633ea16941efe777b9 100644 (file)
@@ -231,27 +231,6 @@ void seq_rectf(Sequence *seq, rctf *rectf)
        rectf->ymax = seq->machine + SEQ_STRIP_OFSTOP;
 }
 
-static void UNUSED_FUNCTION(change_plugin_seq) (Scene * scene, char *str) /* called from fileselect */
-{
-       Editing *ed = BKE_sequencer_editing_get(scene, FALSE);
-       struct SeqEffectHandle sh;
-       Sequence *last_seq = BKE_sequencer_active_get(scene);
-
-       if (last_seq == NULL || last_seq->type != SEQ_PLUGIN) return;
-
-       sh = get_sequence_effect(last_seq);
-       sh.free(last_seq);
-       sh.init_plugin(last_seq, str);
-
-       last_seq->machine = MAX3(last_seq->seq1->machine,
-                                last_seq->seq2->machine,
-                                last_seq->seq3->machine);
-
-       if (seq_test_overlap(ed->seqbasep, last_seq) ) shuffle_seq(ed->seqbasep, last_seq, scene);
-       
-}
-
-
 void boundbox_seq(Scene *scene, rctf *rect)
 {
        Sequence *seq;