]> git.tdb.fi Git - libs/gl.git/commit
Don't link keyframes with zero interval
authorMikko Rasa <tdb@tdb.fi>
Mon, 2 Jul 2018 11:44:23 +0000 (14:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 2 Jul 2018 11:44:23 +0000 (14:44 +0300)
commit7c4ccb88417c23f53e0c24c4cb025b9d35b1da76
treef109a3eaee414323b33411410835b5ba21400a1d
parentae161d1081b42be523aecb72dfe209d6aee6f770
Don't link keyframes with zero interval

Fixes an issue where a lone instant keyframe at the end of the animation
would produce bad values as the iterator tries to divide by zero.
source/animation.cpp