[Bf-blender-cvs] [6690816fe57] blender2.8: Depsgraph: Cleanup, make it more clear what function does

Sergey Sharybin noreply at git.blender.org
Mon Sep 3 13:44:38 CEST 2018


Commit: 6690816fe57f732509e22139e78ebfb39f1a450e
Author: Sergey Sharybin
Date:   Mon Sep 3 12:55:26 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6690816fe57f732509e22139e78ebfb39f1a450e

Depsgraph: Cleanup, make it more clear what function does

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder.cc

===================================================================

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.
 	 */



More information about the Bf-blender-cvs mailing list