]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix several bugs in the animation system
authorMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 12:25:54 +0000 (15:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 12:25:54 +0000 (15:25 +0300)
Make the identity fallback matrix static so the pointers in interpolations
stay valid.

Don't crash when getting pose matrices from the first keyframe.

Matrix multiplication order for base point shift compensation was wrong.

Re-compensate for base point shift after interpolation.

Use correct comparison operator for max_index in AnimationPlayer.

Pass collection to keyframe loader to make loading poses possible.

Use Pose::set_armature rather than loading the pointer directly to get the
matrix array resized.


No differences found