diff options
author | Peter Schlaile <peter@schlaile.de> | 2008-08-03 19:35:56 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2008-08-03 19:35:56 +0400 |
commit | cad3b73144c2ee82feb9659c130664baf9a1aa4d (patch) | |
tree | 3ac265fe8e2e1047fe0e4be272a85c2dc6bea515 /source/blender/src/editseq.c | |
parent | 27b259345e4a23abef42b603f01dc77082791f9a (diff) |
== Sequencer ==
This fixes:
[#17413] Sequencer: Blender crashes pressing R on a color strip
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r-- | source/blender/src/editseq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c index 12019a9dab9..e9d0b57a166 100644 --- a/source/blender/src/editseq.c +++ b/source/blender/src/editseq.c @@ -644,6 +644,7 @@ static int seq_is_parent(Sequence *par, Sequence *seq) static int seq_is_predecessor(Sequence *pred, Sequence *seq) { + if (!pred) return 0; if(pred == seq) return 0; else if(seq_is_parent(pred, seq)) return 1; else if(pred->seq1 && seq_is_predecessor(pred->seq1, seq)) return 1; |