Depsgraph: Update comment
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 21 Nov 2018 15:29:22 +0000 (16:29 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 21 Nov 2018 15:29:22 +0000 (16:29 +0100)
source/blender/depsgraph/intern/builder/deg_builder_relations.cc

index 690c4842cc4c6547a6f00ab4c31654d2f0d5ded7..ab4acef6668337bc81d3399df7b139b2673fb882 100644 (file)
@@ -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 ||