Use 0 degrees as the default angle for the 'cos' convert.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 8 Nov 2007 16:01:51 +0000 (16:01 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 8 Nov 2007 16:01:51 +0000 (16:01 +0000)
git-svn-id: http://svn.voria.com/code@1116 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_cos.cpp

index 50543b2..b8c14be 100644 (file)
@@ -56,7 +56,7 @@ ValueNode_Cos::ValueNode_Cos(const ValueBase &value):
        switch(value.get_type())
        {
        case ValueBase::TYPE_REAL:
-               set_link("angle",ValueNode_Const::create(Angle::deg(90)));
+               set_link("angle",ValueNode_Const::create(Angle::deg(0)));
                set_link("amp",ValueNode_Const::create(value.get(Real())));
                break;
        default: