Blender Git Loki

Git Commits -> Revision d374469

Revision d374469 by Richard Antalik (master)
July 13, 2021, 10:53 (GMT)
VSE: Make pasted strip active

When adding texts or various simple effects I often copy-paste strips
to reuse properties from a template such as font or position. I assume
this is common workflow. Issue with this workflow is, that active strip
is not changed after pasting, so when adjusting property, it is original
strip that is being modified.

This is not issue when duplicating strips - selection state is
transfered to duplicate strips, such that duplicate of active strip is
set to be active and duplicate of selected strip is set to selected.

Implement same selection transfering behavior in paste operator, that
exists in duplicate operator.

Since strip can be deleted after copying, it is not possible to rely
on sequencer state. This is true even when pasting strips to different
scene. Therefore active strip name must be stored in clipboard.

Reviewed By: sergey, Severin

Differential Revision: https://developer.blender.org/D11781

Commit Details:

Full Hash: d374469f4c045355b2e5b17d7ba5dae9c979c8c7
Parent Commit: af42b35
Lines Changed: +38, -0

3 Modified Paths:

/source/blender/editors/space_sequencer/sequencer_edit.c (+5, -0) (Diff)
/source/blender/sequencer/intern/clipboard.c (+29, -0) (Diff)
/source/blender/sequencer/SEQ_clipboard.h (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021