Fix #124526: VSE: Null check for seq->scene.
In `sequencer_check_scene_recursion`, `seq->scene` can be null which leads to crashes, thus guard against that. Pull Request: https://projects.blender.org/blender/blender/pulls/124536
This commit is contained in:
@@ -324,7 +324,9 @@ static Sequence *sequencer_check_scene_recursion(Scene *scene, ListBase *seqbase
|
||||
}
|
||||
|
||||
if (seq->type == SEQ_TYPE_SCENE && (seq->flag & SEQ_SCENE_STRIPS)) {
|
||||
if (seq->scene->ed && sequencer_check_scene_recursion(scene, &seq->scene->ed->seqbase)) {
|
||||
if (seq->scene && seq->scene->ed &&
|
||||
sequencer_check_scene_recursion(scene, &seq->scene->ed->seqbase))
|
||||
{
|
||||
return seq;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user