diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-06-23 19:11:33 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-06-23 19:20:02 +0300 |
commit | 5c6ffd07e0de8f4917927da69a68db9af205973d (patch) | |
tree | 015e87f7e20ba8298fd4d543836ce8fac235c16a /source/blender/editors/space_sequencer/sequencer_intern.h | |
parent | d1ea39aac77203a2f7517b3d0d2ec56ee2e30a22 (diff) |
Fix T99110: Crash after running view_all operator in VSE
Crash caused by NULL dereference, when `Editing` is not initialized.
Check if data is initialized in poll function.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_intern.h')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_intern.h b/source/blender/editors/space_sequencer/sequencer_intern.h index 3307c3fde2f..3f91be9e9e8 100644 --- a/source/blender/editors/space_sequencer/sequencer_intern.h +++ b/source/blender/editors/space_sequencer/sequencer_intern.h @@ -133,6 +133,7 @@ int seq_effect_find_selected(struct Scene *scene, /* Operator helpers. */ bool sequencer_edit_poll(struct bContext *C); +bool sequencer_editing_initialized_and_active(struct bContext *C); /* UNUSED */ /* bool sequencer_strip_poll(struct bContext *C); */ bool sequencer_strip_has_path_poll(struct bContext *C); |