projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add optional debugging for calls to ValueNode_*::operator(). export SYNFIG_DEBUG_VAL...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_duplicate.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
b/synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
index
a8e5801
..
540c3a9
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_duplicate.cpp
@@
-191,6
+191,9
@@
ValueNode_Duplicate::count_steps(Time t)const
ValueBase
ValueNode_Duplicate::operator()(Time t __attribute__ ((unused)))const
{
ValueBase
ValueNode_Duplicate::operator()(Time t __attribute__ ((unused)))const
{
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
return index;
}
return index;
}