Rename any instance of scene layer or render layer in code with view layer
[blender.git] / source / blender / depsgraph / intern / eval / deg_eval.cc
index f5b11785441c53a3e7732c98f3d051c866a19b7c..5aebd6814a025f49894fe999a72a79a2b2c9e2ea 100644 (file)
@@ -278,7 +278,7 @@ void deg_evaluate_on_refresh(EvaluationContext *eval_ctx,
        /* Set time for the current graph evaluation context. */
        TimeSourceDepsNode *time_src = graph->find_time_source();
        eval_ctx->depsgraph = (::Depsgraph *)graph;
-       eval_ctx->scene_layer = DEG_get_evaluated_scene_layer((::Depsgraph *)graph);
+       eval_ctx->view_layer = DEG_get_evaluated_view_layer((::Depsgraph *)graph);
        eval_ctx->ctime = time_src->cfra;
 
        /* XXX could use a separate pool for each eval context */