[Bf-blender-cvs] [5a56e4997f9] blender2.8: Depsgraph: Fix non-working drivers after recent relations change
Sergey Sharybin
noreply at git.blender.org
Mon Jul 9 17:42:41 CEST 2018
Commit: 5a56e4997f9667da1fbe76d69ee7294fa13a9dc6
Author: Sergey Sharybin
Date: Mon Jul 9 17:41:04 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5a56e4997f9667da1fbe76d69ee7294fa13a9dc6
Depsgraph: Fix non-working drivers after recent relations change
===================================================================
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 7a5d2b4afa4..23e50f125ba 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -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.
*/
More information about the Bf-blender-cvs
mailing list