Animation Curve enum type was wrong.