Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-05-23 21:24:58 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-23 21:30:17 +0300
commit67598d39b413f9cb0d2c7979c4a08207dd44d806 (patch)
treecdc4ea750d2a3b8311d1a3cd29d95f2ce1c4a493 /source/blender/depsgraph
parent6955add502b273b24fa9ea44298cc7c396160e0f (diff)
Revert "Depsgraph: refresh RNA that doesn't need a full rebuild"
This reverts commit b4b745b72064ee7d3d8b0245ac8e8358b7fd07a3. This was causing a problem in 01_025_A.anim.blend from the Spring production files, where selecting one of Autumn's bones would result in character jumping back to the origin.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 900d9cfd1cf..9a1bd87f93d 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2137,8 +2137,7 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
*/
OperationDepsNode *op_entry = comp_node->get_entry_operation();
if (op_entry != NULL) {
- DepsRelation *rel = graph_->add_new_relation(op_cow, op_entry, "CoW Dependency");
- rel->flag |= DEPSREL_FLAG_NO_FLUSH;
+ graph_->add_new_relation(op_cow, op_entry, "CoW Dependency");
}
/* All dangling operations should also be executed after copy-on-write. */
GHASH_FOREACH_BEGIN(OperationDepsNode *, op_node, comp_node->operations_map)
@@ -2162,8 +2161,7 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
}
}
if (!has_same_comp_dependency) {
- DepsRelation *rel_sub = graph_->add_new_relation(op_cow, op_node, "CoW Dependency");
- rel_sub->flag |= DEPSREL_FLAG_NO_FLUSH;
+ graph_->add_new_relation(op_cow, op_node, "CoW Dependency");
}
}
}