]> git.tdb.fi Git - libs/gl.git/commit
Add looping detection to animation exporter
authorMikko Rasa <tdb@tdb.fi>
Sun, 16 Jun 2019 08:52:27 +0000 (11:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 16 Jun 2019 08:52:27 +0000 (11:52 +0300)
commit569abc900f42d8e7b70520e2c9ef8a5547878266
tree08c8cd0f9e8b68269a4f77064a12973e63f5270c
parent6a832fe1771f8c7bca0faa0d383fbbab062a1c56
Add looping detection to animation exporter

Since Blender's actions do not have a looping property, detect looping by
comparing the first and last keyframes of each curve.
blender/io_mspgl/__init__.py
blender/io_mspgl/animation.py
blender/io_mspgl/export_animation.py