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_composite.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_composite.cpp
b/synfig-core/trunk/src/synfig/valuenode_composite.cpp
index
102690a
..
7e18ea0
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_composite.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_composite.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-113,6
+114,9
@@
ValueNode_Composite::create_new()const
ValueBase
synfig::ValueNode_Composite::operator()(Time t)const
{
ValueBase
synfig::ValueNode_Composite::operator()(Time t)const
{
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
switch(get_type())
{
case ValueBase::TYPE_VECTOR:
switch(get_type())
{
case ValueBase::TYPE_VECTOR:
@@
-310,7
+314,7
@@
ValueNode_Composite::link_name(int i)const
{
assert(i>=0 && i<link_count());
{
assert(i>=0 && i<link_count());
- if (get_file_version()
== FILE_VERSION_0_61_07
)
+ if (get_file_version()
< RELEASE_VERSION_0_61_08
)
return strprintf("c%d",i+1);
switch(get_type())
return strprintf("c%d",i+1);
switch(get_type())