[Bf-blender-cvs] [d3e686d61eb] blender2.8: Depsgraph: Update comment

Sergey Sharybin noreply at git.blender.org
Wed Nov 21 16:29:33 CET 2018


Commit: d3e686d61eb93aed5487c4037d7675cf811039a1
Author: Sergey Sharybin
Date:   Wed Nov 21 16:29:22 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBd3e686d61eb93aed5487c4037d7675cf811039a1

Depsgraph: Update comment

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

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

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

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 690c4842cc4..ab4acef6668 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2425,6 +2425,11 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
 		 *   to preserve that cache in copy-on-write, but for the time being
 		 *   we allow flush to layer collections component which will ensure
 		 *   that cached array fo bases exists and is up-to-date.
+		 *
+		 * - Action is allowed to flush as well, this way it's possible to
+		 *   keep current tagging in animation editors (which tags action for
+		 *   CoW update when it's changed) but yet guarantee evaluation order
+		 *   with objects which are using that action.
 		 */
 		if (comp_node->type == DEG_NODE_TYPE_PARAMETERS ||
 		    comp_node->type == DEG_NODE_TYPE_LAYER_COLLECTIONS ||



More information about the Bf-blender-cvs mailing list