Revert "Fix T55668: Volume Keyframe on Cut-ted Metastrip."
[blender.git] / source / blender / editors / space_sequencer / sequencer_edit.c
index d9cc7cb2c361e527e281973256930033aa808ef4..cb0034b7914e0ab9faa0055991f9168a24af26d4 100644 (file)
@@ -737,7 +737,7 @@ static Sequence *cut_seq_hard(Scene *scene, Sequence *seq, int cutframe)
 
        if (!skip_dup) {
                /* Duplicate AFTER the first change */
-               seqn = BKE_sequence_dupli_recursive(scene, scene, seq, SEQ_DUPE_ANIM);
+               seqn = BKE_sequence_dupli_recursive(scene, scene, seq, SEQ_DUPE_UNIQUE_NAME | SEQ_DUPE_ANIM);
        }
 
        if (seqn) {
@@ -846,7 +846,7 @@ static Sequence *cut_seq_soft(Scene *scene, Sequence *seq, int cutframe)
 
        if (!skip_dup) {
                /* Duplicate AFTER the first change */
-               seqn = BKE_sequence_dupli_recursive(scene, scene, seq, SEQ_DUPE_ANIM);
+               seqn = BKE_sequence_dupli_recursive(scene, scene, seq, SEQ_DUPE_UNIQUE_NAME | SEQ_DUPE_ANIM);
        }
 
        if (seqn) {
@@ -2110,7 +2110,6 @@ static int sequencer_cut_exec(bContext *C, wmOperator *op)
 
                SEQP_BEGIN (ed, seq)
                {
-                       BKE_sequence_base_unique_name_recursive(&ed->seqbase, seq);
                        if (seq->seq1 || seq->seq2 || seq->seq3) {
                                BKE_sequence_calc(scene, seq);
                        }