diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
commit | b21a3e770277aef4d7a17b9b72c1c622493a5eb9 (patch) | |
tree | 3d144dfefb0ac5bcf21213fd0309b5d35078ba2c /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | 9c2715ffda93a7625955a453a6dacaa4b601dd89 (diff) |
Depsgraph: Use BLI::Map in more places
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7519
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 1c56808ea82..ff7d9ee0170 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -495,13 +495,13 @@ void deg_graph_node_tag_zero(Main *bmain, ID *id = id_node->id_orig; /* TODO(sergey): Which recalc flags to set here? */ id_node->id_cow->recalc |= deg_recalc_flags_for_legacy_zero(); - GHASH_FOREACH_BEGIN (ComponentNode *, comp_node, id_node->components) { + + for (ComponentNode *comp_node : id_node->components.values()) { if (comp_node->type == NodeType::ANIMATION) { continue; } comp_node->tag_update(graph, update_source); } - GHASH_FOREACH_END(); deg_graph_id_tag_legacy_compat(bmain, graph, id, (IDRecalcFlag)0, update_source); } |