Depsgraph: Fix non-working drivers after recent relations change
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 Jul 2018 15:41:04 +0000 (17:41 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 Jul 2018 15:42:36 +0000 (17:42 +0200)
source/blender/depsgraph/intern/builder/deg_builder_relations.cc

index 7a5d2b4afa4a88a521be57dfe6e6e58b1ac6138e..23e50f125ba155adcf81ef1f5c3ad4b34bcf35d7 100644 (file)
@@ -2213,6 +2213,9 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
                if (id_type == ID_ME && comp_node->type == DEG_NODE_TYPE_GEOMETRY) {
                        rel_flag &= ~DEPSREL_FLAG_NO_FLUSH;
                }
+               if (comp_node->type == DEG_NODE_TYPE_PARAMETERS) {
+                       rel_flag &= ~DEPSREL_FLAG_NO_FLUSH;
+               }
                /* All entry operations of each component should wait for a proper
                 * copy of ID.
                 */