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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 53697a8aabd..454b622385a 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -484,6 +484,13 @@ void deg_graph_on_visible_update(Main *bmain, Depsgraph *graph)
int flag = 0;
if (!DEG::deg_copy_on_write_is_expanded(id_node->id_cow)) {
flag |= ID_RECALC_COPY_ON_WRITE;
+ /* TODO(sergey): Shouldn't be needed, but currently we are lackign
+ * some flushing of evaluated data to the original one, which makes,
+ * for example, files saved with the rest pose.
+ * Need to solve those issues carefully, for until then we evaluate
+ * animation for datablocks which appears in the graph for the first
+ * time. */
+ flag |= ID_RECALC_ANIMATION;
}
/* We only tag components which needs an update. Tagging everything is
* not a good idea because that might reset particles cache (or any