From e87a45324e567992fea8c42d549ac57f9fa38703 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 8 Mar 2008 12:54:31 +0000 Subject: [PATCH] When converting to an "Exponential" ValueNode, default the exponent to zero so the value remains the same. git-svn-id: http://svn.voria.com/code@1883 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_exp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_exp.cpp b/synfig-core/trunk/src/synfig/valuenode_exp.cpp index 520112b..266034b 100644 --- a/synfig-core/trunk/src/synfig/valuenode_exp.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_exp.cpp @@ -56,7 +56,7 @@ ValueNode_Exp::ValueNode_Exp(const ValueBase &value): switch(value.get_type()) { case ValueBase::TYPE_REAL: - set_link("exp",ValueNode_Const::create(Real(1))); + set_link("exp",ValueNode_Const::create(Real(0))); set_link("scale",ValueNode_Const::create(value.get(Real()))); break; default: -- 2.7.4