Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-03 13:55:26 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-03 13:55:26 +0300
commit6690816fe57f732509e22139e78ebfb39f1a450e (patch)
treea10a81901655265d7643c475daa12225707b6555 /source/blender
parent6ba5dc9147c06ce9db1facd0bcf0e83ba6f6429c (diff)
Depsgraph: Cleanup, make it more clear what function does
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder.cc b/source/blender/depsgraph/intern/builder/deg_builder.cc
index cd087889845..73edf0ef993 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder.cc
@@ -56,7 +56,7 @@ namespace DEG {
namespace {
-void deg_graph_build_flush_layers(Depsgraph *graph)
+void deg_graph_build_flush_visibility(Depsgraph *graph)
{
BLI_Stack *stack = BLI_stack_new(sizeof(OperationDepsNode *),
"DEG flush layers stack");
@@ -108,7 +108,8 @@ void deg_graph_build_flush_layers(Depsgraph *graph)
void deg_graph_build_finalize(Main *bmain, Depsgraph *graph)
{
- deg_graph_build_flush_layers(graph);
+ /* Maker sure dependencies of visible ID datablocks are visible. */
+ deg_graph_build_flush_visibility(graph);
/* Re-tag IDs for update if it was tagged before the relations
* update tag.
*/