bugfix [#8263] Video Sequence Editor > Sequence > Reassign Inputs > crash
authorCampbell Barton <ideasman42@gmail.com>
Sun, 17 Feb 2008 21:22:42 +0000 (21:22 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 17 Feb 2008 21:22:42 +0000 (21:22 +0000)
just missing null checks

source/blender/src/editseq.c

index 4995e106a305f0b4edfe062d78224070c9186137..0f45910c2feb98fd5ceef8bc90d9ba191d07a95e 100644 (file)
@@ -1657,7 +1657,9 @@ static int seq_effect_find_selected(Editing *ed, Sequence *activeseq, int type,
                }
                if(seq3==0) seq3= seq2;
        }
-
+       
+       if (seq1==NULL && seq2==NULL && seq3==NULL) return 0;
+       
        *selseq1= seq1;
        *selseq2= seq2;
        *selseq3= seq3;