diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-15 20:27:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-15 20:27:58 +0300 |
commit | 1994e843d6bb144054356fc54e49f730e843e969 (patch) | |
tree | 9636aadec0d04c525a0cd6147fd0c0e61b28a89a /source/blender/editors/space_sequencer/sequencer_edit.c | |
parent | 197dcfdc19eaf71b1d750d7931b0fe21a7caecea (diff) |
Sequencer: Don't crash when trying to rebuild proxy without having sequence edits
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 910ba6646b0..47eb71d0401 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -180,6 +180,10 @@ static void seq_proxy_build_job(const bContext *C) LinkData *link; Sequence *seq; + if (ed == NULL) { + return; + } + wm_job = WM_jobs_get(CTX_wm_manager(C), CTX_wm_window(C), sa, "Building Proxies", WM_JOB_PROGRESS, WM_JOB_TYPE_SEQ_BUILD_PROXY); |