[Bf-blender-cvs] [c586904] depsgraph_refactor: Depsgraph: Fix missing argument in debug print

Sergey Sharybin noreply at git.blender.org
Wed Jan 7 10:19:06 CET 2015


Commit: c586904358e8400349ce1d241f8d5d3556b47337
Author: Sergey Sharybin
Date:   Wed Jan 7 14:16:40 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rBc586904358e8400349ce1d241f8d5d3556b47337

Depsgraph: Fix missing argument in debug print

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cpp b/source/blender/depsgraph/intern/depsgraph_tag.cpp
index 1b21be6..e2c1b4d 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cpp
@@ -143,7 +143,7 @@ void DEG_id_tag_update(ID *id, short flag)
 
 void DEG_id_tag_update_ex(Main *bmain, ID *id, short flag)
 {
-	DEG_DEBUG_PRINTF("%s: id=%s flag=%d\n", id->name, flag);
+	DEG_DEBUG_PRINTF("%s: id=%s flag=%d\n", __func__, id->name, flag);
 	lib_id_recalc_tag_flag(bmain, id, flag);
 	for (Scene *scene = (Scene *)bmain->scene.first;
 	     scene != NULL;




More information about the Bf-blender-cvs mailing list