From 1c50ac93386f490d32d4ca36d57b9b1901fb873c Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 22 Dec 2008 10:28:30 +0000 Subject: [PATCH] Tidying. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2319 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_cos.cpp | 39 ++++++++++++++------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_cos.cpp b/synfig-core/trunk/src/synfig/valuenode_cos.cpp index efcd88a..f3e4793 100644 --- a/synfig-core/trunk/src/synfig/valuenode_cos.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_cos.cpp @@ -92,8 +92,7 @@ ValueNode_Cos::operator()(Time t)const return Angle::cos( (*angle_)(t).get(Angle()) - ).get() * (*amp_)(t).get(Real()) - ; + ).get() * (*amp_)(t).get(Real()); } @@ -125,6 +124,7 @@ ValueNode_Cos::set_link_vfunc(int i,ValueNode::Handle value) case 0: CHECK_TYPE_AND_SET_VALUE(angle_, ValueBase::TYPE_ANGLE); case 1: CHECK_TYPE_AND_SET_VALUE(amp_, ValueBase::TYPE_REAL); } + return false; } @@ -133,10 +133,11 @@ ValueNode_Cos::get_link_vfunc(int i)const { assert(i>=0 && i=0 && i=0 && i