[Bf-blender-cvs] [09f780c1b0f] blender2.8: Preserve unkeyed changes on undo and file open

Sergey Sharybin noreply at git.blender.org
Tue Jun 5 12:35:21 CEST 2018


Commit: 09f780c1b0fe2671b81b048c1e252dc1ea624abb
Author: Sergey Sharybin
Date:   Tue Jun 5 12:34:31 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB09f780c1b0fe2671b81b048c1e252dc1ea624abb

Preserve unkeyed changes on undo and file open

This partially reverts 5975d6581cee.

With single editing context it is more predictable what is unkeyed change is.

===================================================================

M	source/blender/depsgraph/intern/depsgraph_tag.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index e772aefe8cb..8ff11ca5fd2 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -520,7 +520,7 @@ void deg_graph_on_visible_update(Main *bmain, Depsgraph *graph)
 	/* Make sure objects are up to date. */
 	foreach (DEG::IDDepsNode *id_node, graph->id_nodes) {
 		const ID_Type id_type = GS(id_node->id_orig->name);
-		int flag = DEG_TAG_TIME | DEG_TAG_COPY_ON_WRITE;
+		int flag = DEG_TAG_COPY_ON_WRITE;
 		/* We only tag components which needs an update. Tagging everything is
 		 * not a good idea because that might reset particles cache (or any
 		 * other type of cache).



More information about the Bf-blender-cvs mailing list