diff --git a/source/blender/editors/space_buttons/buttons_context.cc b/source/blender/editors/space_buttons/buttons_context.cc index 3c9eb8e9943..3e651f1dc4e 100644 --- a/source/blender/editors/space_buttons/buttons_context.cc +++ b/source/blender/editors/space_buttons/buttons_context.cc @@ -615,6 +615,9 @@ static bool buttons_context_path( /* No pinned root, use scene as initial root. */ else if (mainb != BCONTEXT_TOOL) { if (ELEM(mainb, BCONTEXT_STRIP, BCONTEXT_STRIP_MODIFIER)) { + if (!sequencer_scene) { + return false; + } path->ptr[0] = RNA_id_pointer_create(&sequencer_scene->id); } else {