diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-13 13:22:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-13 14:04:19 +0300 |
commit | 1c85fb95b18e1be1e1c5807514b5cb83b4c24c6d (patch) | |
tree | 0f8ce29456947501a61783dc9e2e553e56aa1929 /source/blender/depsgraph/intern | |
parent | 07fc6c922493bf0f6252da663e9854b8c9d95b8b (diff) |
Fix incomplete evaluation context in depsgraph iter.
Diffstat (limited to 'source/blender/depsgraph/intern')
-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; |