diff options
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query_iter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_iter.cc b/source/blender/depsgraph/intern/depsgraph_query_iter.cc index fd54030a4e0..61f1ccdd2a0 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_iter.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_iter.cc @@ -214,6 +214,7 @@ void DEG_iterator_objects_begin(BLI_Iterator *iter, DEGObjectIterData *data) * direct dupli-objects update in group.c. Which is terribly bad, and all * objects are expected to be evaluated already. */ DEG_evaluation_context_init(&data->eval_ctx, DAG_EVAL_VIEWPORT); + data->eval_ctx.depsgraph = depsgraph; data->eval_ctx.view_layer = DEG_get_evaluated_view_layer(depsgraph); iter->data = data; |