un-initialized variable, fix for own recent commit
authorCampbell Barton <ideasman42@gmail.com>
Mon, 16 Nov 2009 14:29:46 +0000 (14:29 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 16 Nov 2009 14:29:46 +0000 (14:29 +0000)
source/blender/editors/space_sequencer/sequencer_add.c

index 9aaf205f5d93ffc1c22e84e496de1f0a5a089402..cc01662edd0116cf6288ed78a4b54373ec7e9709 100644 (file)
@@ -404,7 +404,8 @@ static int sequencer_add_image_strip_exec(bContext *C, wmOperator *op)
        
        /* main adding function */
        seq= sequencer_add_image_strip(C, ed->seqbasep, &seq_load);
-       se= seq->strip->stripdata;
+       strip= seq->strip;
+       se= strip->stripdata;
 
        if(seq_load.len > 1) {
                RNA_BEGIN(op->ptr, itemptr, "files") {