diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-04-05 15:52:32 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-04-05 15:56:50 +0300 |
commit | d5550c7b2c6b3278444f1f377d62776736c5dff9 (patch) | |
tree | 7902bba48f1a368bcf8e4c51ea3d8b4454b7302b /source/blender/editors/space_sequencer/sequencer_edit.c | |
parent | d889762590a4f068aa312879976e98dbd0ee93fc (diff) |
Fix T97071: Duplicating strip in locked channel creates overlapping strips
Add flag `SEQ_IGNORE_CHANNEL_LOCK` to indicate, that channel lock
should not apply to strip. This flag must be cleared after
transformation.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 70fba9d4ac9..0305ad279a0 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -1687,6 +1687,7 @@ static int sequencer_add_duplicate_exec(bContext *C, wmOperator *UNUSED(op)) SEQ_select_active_set(scene, seq); } seq->flag &= ~(SEQ_LEFTSEL + SEQ_RIGHTSEL + SEQ_LOCK); + seq->flag |= SEQ_IGNORE_CHANNEL_LOCK; SEQ_animation_duplicate(scene, seq, &fcurves_original_backup); SEQ_ensure_unique_name(seq, scene); } |