diff options
Diffstat (limited to 'source/blender/render/intern/source/pipeline.c')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 9ad9c653e54..c42f85ef017 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -867,7 +867,7 @@ void RE_InitState(Render *re, Render *source, RenderData *rd, } eEvaluationMode mode = (re->r.scemode & R_VIEWPORT_PREVIEW) ? DAG_EVAL_PREVIEW : DAG_EVAL_RENDER; - /* If we had a consistent EvaluationContext now would be the time to update it. */ + /* This mode should have been set in the Depsgraph immediately when it was created. */ (void)mode; /* ensure renderdatabase can use part settings correct */ @@ -2733,11 +2733,10 @@ static void do_render_seq(Render *re) tot_views = BKE_scene_multiview_num_views_get(&re->r); ibuf_arr = MEM_mallocN(sizeof(ImBuf *) * tot_views, "Sequencer Views ImBufs"); - EvaluationContext *eval_ctx = DEG_evaluation_context_new(DAG_EVAL_RENDER); BKE_sequencer_new_render_data( - eval_ctx, re->main, re->scene, - re_x, re_y, 100, + re->main, re->scene, + re_x, re_y, 100, true, &context); /* the renderresult gets destroyed during the rendering, so we first collect all ibufs @@ -2758,8 +2757,6 @@ static void do_render_seq(Render *re) } } - DEG_evaluation_context_free(eval_ctx); - rr = re->result; BLI_rw_mutex_lock(&re->resultmutex, THREAD_LOCK_WRITE); |