Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2019-05-31 01:19:02 +0300
committerRichard Antalik <richardantalik@gmail.com>2019-05-31 01:47:25 +0300
commit7ccc7ef61fde38e517d730cef05242cc150126d1 (patch)
tree22a7eb694b7c96c3deb115595fec379d146a522f /source/blender/makesrna/intern/rna_sequencer_api.c
parentfc336f973d521e61ad6c10fbd67a72d684dbe43a (diff)
VSE: don't add crop and transform data for sound strips
This also fixes commit rB1fd7b380f4cf8a0489b405de2819f228a4da5ea2 which didn't do allocation for effect strips properly. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4970
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c
index 3fc46bf1225..9b22a87cdb9 100644
--- a/source/blender/makesrna/intern/rna_sequencer_api.c
+++ b/source/blender/makesrna/intern/rna_sequencer_api.c
@@ -81,8 +81,7 @@ static Sequence *alloc_generic_sequence(
Strip *strip;
StripElem *se;
- seq = BKE_sequence_alloc(ed->seqbasep, frame_start, channel);
- seq->type = type;
+ seq = BKE_sequence_alloc(ed->seqbasep, frame_start, channel, type);
BLI_strncpy(seq->name + 2, name, sizeof(seq->name) - 2);
BKE_sequence_base_unique_name_recursive(&ed->seqbase, seq);