Depsgraph: Tweak to visibility flush

Make flush ready for component forced to be affecting visible things
from builder.
This commit is contained in:
Sergey Sharybin 2018-09-24 15:41:00 +02:00
parent 65c71fc410
commit 736f91ad01
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void deg_graph_build_flush_visibility(Depsgraph *graph)
foreach (IDDepsNode *id_node, graph->id_nodes) {
GHASH_FOREACH_BEGIN(ComponentDepsNode *, comp_node, id_node->components)
{
comp_node->affects_directly_visible = id_node->is_directly_visible;
comp_node->affects_directly_visible |= id_node->is_directly_visible;
}
GHASH_FOREACH_END();
}