Fix 1568818: Animate gradients.
[synfig.git] / 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: