diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-11-30 14:14:43 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-11-30 14:23:10 +0300 |
commit | 2296b9776a8ba8ff648c2de2228c007a77881e94 (patch) | |
tree | c1f745dd09bb3317cba1c493524bf7b90bc92d82 | |
parent | ced2f3f30e8ce2baad5ec9f427803c40011f6642 (diff) |
Depsgraph: Tag all id_types on_visible_update
We need all id nodes to be evaluated at least once when opening a file.
This is particuarly required for the upcoming group collection patch.
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index c2711eb3f15..dd8b643d1c3 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -461,14 +461,6 @@ void deg_graph_on_visible_update(Main *bmain, Depsgraph *graph) /* Make sure objects are up to date. */ foreach (DEG::IDDepsNode *id_node, graph->id_nodes) { const ID_Type id_type = GS(id_node->id_orig->name); - /* TODO(sergey): Special exception for now. */ - if (id_type == ID_MSK) { - deg_graph_id_tag_update(bmain, graph, id_node->id_orig, 0); - } - if (id_type != ID_OB) { - /* Ignore non-object nodes on visibility changes. */ - continue; - } int flag = 0; /* We only tag components which needs an update. Tagging everything is * not a good idea because that might reset particles cache (or any |