Fixed crash if there is an animation with no keyframes.
Merge pull request #327 from tfili/no-keyframes-crash

Fixed crash if there is an animation with no keyframes.