[Bf-blender-cvs] [2f4dea0ef98] blender2.8: Depsgraph: Use utility function to print CoW update function

Sergey Sharybin noreply at git.blender.org
Wed May 2 17:10:48 CEST 2018


Commit: 2f4dea0ef987abe0e2c11ed01df1645a59c58a74
Author: Sergey Sharybin
Date:   Wed May 2 11:20:58 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2f4dea0ef987abe0e2c11ed01df1645a59c58a74

Depsgraph: Use utility function to print CoW update function

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

M	source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc

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

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
index c149218a204..53d8319a8f0 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
@@ -774,7 +774,7 @@ void deg_evaluate_copy_on_write(struct ::Depsgraph *graph,
                                 const IDDepsNode *id_node)
 {
 	const DEG::Depsgraph *depsgraph = reinterpret_cast<const DEG::Depsgraph *>(graph);
-	DEBUG_PRINT("%s on %s\n", __func__, id_node->id_orig->name);
+	DEG_debug_print_eval(__func__, id_node->id_orig->name, id_node->id_cow);
 	if (id_node->id_orig == &depsgraph->scene->id) {
 		/* NOTE: This is handled by eval_ctx setup routines, which
 		 * ensures scene and view layer pointers are valid.



More information about the Bf-blender-cvs mailing list