Commit: 1c85fb95b18e1be1e1c5807514b5cb83b4c24c6d
Author: Brecht Van Lommel
Date:   Fri Apr 13 12:22:57 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB1c85fb95b18e1be1e1c5807514b5cb83b4c24c6d

Fix incomplete evaluation context in depsgraph iter.

===================================================================

M       source/blender/depsgraph/intern/depsgraph_query_iter.cc

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to