[Bf-blender-cvs] [ed26edb] master: Fix T38566: "Separate images" in VSE is not working any longer
Sergey Sharybin
noreply at git.blender.org
Tue Mar 18 17:45:50 CET 2014
Commit: ed26edb5323cc058ade61329c7928eb0caac1904
Author: Sergey Sharybin
Date: Tue Mar 18 22:45:33 2014 +0600
https://developer.blender.org/rBed26edb5323cc058ade61329c7928eb0caac1904
Fix T38566: "Separate images" in VSE is not working any longer
===================================================================
M source/blender/editors/space_sequencer/sequencer_edit.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 0a37496..1464d39 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1,5 +1,5 @@
/*
- * ***** BEGIN GPL LICENSE BLOCK *****
+ * ***** begin GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -1901,6 +1901,8 @@ static int sequencer_separate_images_exec(bContext *C, wmOperator *op)
while (seq) {
if ((seq->flag & SELECT) && (seq->type == SEQ_TYPE_IMAGE) && (seq->len > 1)) {
+ Sequence *seq_next;
+
/* remove seq so overlap tests don't conflict,
* see seq_free_sequence below for the real free'ing */
BLI_remlink(ed->seqbasep, seq);
@@ -1944,8 +1946,9 @@ static int sequencer_separate_images_exec(bContext *C, wmOperator *op)
start_ofs += step;
}
+ seq_next = seq->next;
BKE_sequence_free(scene, seq);
- seq = seq->next;
+ seq = seq_next;
}
else {
seq = seq->next;
More information about the Bf-blender-cvs
mailing list