Clamp animation values outside of keyframe range
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When an animation time is set outside of the range of keyframes for a particular property, it should clamp the value of that property to the closest keyframe. Otherwise, the animation gets messed up when you skip around in the animation.
For example, consider the animation defined in the attached state file. It has a single sphere source and animates the end theta from 0 to 360 from time 0 to 0.5 and animates start theta from 0 to 360 from time 0.5 to 1.0. If you play the animation in a loop, you get a sphere that forms and disappears.
However, because the tracks to not span over all time, things get messed up if you jump around in time. Try this. Go to time 1. Then go to time 0.75 and then go to time 0.25. At time 0.25 you would expect the upper hemisphere that would appear if you were playing the animation in a loop, but instead you get nothing. This is because the start theta is still at 180 instead of 0 as you would expect.