[Bf-blender-cvs] [83de7c4094b] blender2.8: Fix break on duplicated instances since IDNodes depsgraph iterator
Dalai Felinto
noreply at git.blender.org
Tue Nov 7 00:33:23 CET 2017
Commit: 83de7c4094beb73036e71b5170502512c6936766
Author: Dalai Felinto
Date: Mon Nov 6 21:18:27 2017 -0200
Branches: blender2.8
https://developer.blender.org/rB83de7c4094beb73036e71b5170502512c6936766
Fix break on duplicated instances since IDNodes depsgraph iterator
===================================================================
M source/blender/depsgraph/intern/depsgraph_query.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_query.cc b/source/blender/depsgraph/intern/depsgraph_query.cc
index 156b98a6421..9fba961279b 100644
--- a/source/blender/depsgraph/intern/depsgraph_query.cc
+++ b/source/blender/depsgraph/intern/depsgraph_query.cc
@@ -264,6 +264,7 @@ void DEG_objects_iterator_begin(BLI_Iterator *iter, DEGObjectsIteratorData *data
data->dupli_list = NULL;
data->dupli_object_next = NULL;
data->dupli_object_current = NULL;
+ data->scene = DEG_get_evaluated_scene(graph);
DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(graph);
BLI_ghashIterator_init(&data->gh_iter, deg_graph->id_hash);
More information about the Bf-blender-cvs
mailing list