Apply patch #21: add boolean ValueNode conversions. Thanks to nikitakit.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_reference.cpp
index bd80d37..a235f02 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \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
@@ -139,6 +140,9 @@ ValueNode_Reference::get_link_index_from_name(const String &name)const
 ValueBase
 ValueNode_Reference::operator()(Time t)const
 {
+       if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+               printf("%s:%d operator()\n", __FILE__, __LINE__);
+
        return (*link_)(t);
 }