Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_log.cpp
index b44a452..59f82e5 100644 (file)
@@ -7,7 +7,7 @@
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 **     Copyright (c) 2007, 2008 Chris Moore
-**      Copyright (c) 2008 Carlos López
+**  Copyright (c) 2008 Carlos López
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -59,7 +59,7 @@ ValueNode_Logarithm::ValueNode_Logarithm(const ValueBase &x):
        Real epsilon(0.000001);
 
        value = exp(value);
-       
+
        set_link("link",     ValueNode_Const::create(Real(value)));
        set_link("epsilon",  ValueNode_Const::create(Real(epsilon)));
        set_link("infinite", ValueNode_Const::create(Real(infinity)));
@@ -149,6 +149,9 @@ ValueNode_Logarithm::get_link_index_from_name(const String &name)const
 ValueBase
 ValueNode_Logarithm::operator()(Time t)const
 {
+       if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+               printf("%s:%d operator()\n", __FILE__, __LINE__);
+
        Real link     = (*link_)    (t).get(Real());
        Real epsilon  = (*epsilon_) (t).get(Real());
        Real infinite = (*infinite_)(t).get(Real());
@@ -180,4 +183,4 @@ ValueNode_Logarithm::check_type(ValueBase::Type type)
        return type==ValueBase::TYPE_REAL;
 }
 
-                
+