Fix 1568818: Animate gradients.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 15 Sep 2007 20:11:31 +0000 (20:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 15 Sep 2007 20:11:31 +0000 (20:11 +0000)
git-svn-id: http://svn.voria.com/code@676 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index aabf805..3bb0146 100644 (file)
@@ -1027,7 +1027,7 @@ synfig::ValueNode_Animated::create(ValueBase::Type type)
                case ValueBase::TYPE_STRING:
                        return ValueNode_Animated::Handle(new _Constant<String>);
                case ValueBase::TYPE_GRADIENT:
-                       return ValueNode_Animated::Handle(new _Constant<Gradient>);
+                       return ValueNode_Animated::Handle(new _Hermite<Gradient>);
                case ValueBase::TYPE_BOOL:
                        return ValueNode_Animated::Handle(new _AnimBool);
                case ValueBase::TYPE_CANVAS: