[Bf-blender-cvs] [1994e84] master: Sequencer: Don't crash when trying to rebuild proxy without having sequence edits
Sergey Sharybin
noreply at git.blender.org
Thu Jan 15 18:28:22 CET 2015
Commit: 1994e843d6bb144054356fc54e49f730e843e969
Author: Sergey Sharybin
Date: Thu Jan 15 22:27:58 2015 +0500
Branches: master
https://developer.blender.org/rB1994e843d6bb144054356fc54e49f730e843e969
Sequencer: Don't crash when trying to rebuild proxy without having sequence edits
===================================================================
M source/blender/editors/space_sequencer/sequencer_edit.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 910ba66..47eb71d 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);
More information about the Bf-blender-cvs
mailing list