[Bf-blender-cvs] [a31233f5d2a] blender2.8: Depsgraph: Stop tagging all IDs for update on depsgraph rebuild

Sergey Sharybin noreply at git.blender.org
Wed Jul 19 17:33:49 CEST 2017


Commit: a31233f5d2a83c73c89a712e5daffa2b1c14f4ef
Author: Sergey Sharybin
Date:   Tue Jul 18 15:50:12 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBa31233f5d2a83c73c89a712e5daffa2b1c14f4ef

Depsgraph: Stop tagging all IDs for update on depsgraph rebuild

This code needs to be changed. For the time being CoW might become less stable,
but need to stop doing such tag for other work.

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

M	source/blender/depsgraph/intern/builder/deg_builder.cc

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

diff --git a/source/blender/depsgraph/intern/builder/deg_builder.cc b/source/blender/depsgraph/intern/builder/deg_builder.cc
index 92c79388657..9741cb1fbe0 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder.cc
@@ -61,11 +61,6 @@ void deg_graph_build_finalize(Depsgraph *graph)
 				id_node->tag_update(graph);
 			}
 		}
-		/* XXX: This is only so we've got proper COW IDs after rebuild. */
-		/* TODO(sergey): Ideally we'll need to copy evaluated CoW from previous
-		 * depsgraph, so we don't need to re-tag anything what we already have.
-		 */
-		id_node->tag_update(graph);
 	}
 	GHASH_FOREACH_END();
 }




More information about the Bf-blender-cvs mailing list