Sequencer: Don't crash when trying to rebuild proxy without having sequence edits

This commit is contained in:
Sergey Sharybin 2015-01-15 22:27:58 +05:00
parent 197dcfdc19
commit 1994e843d6
1 changed files with 4 additions and 0 deletions

View File

@ -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);