simple scene with animation causes exporter to crash
See original GitHub issueHere is the blender scene (v2.79) untitled.zip
And this is the error that the latest TOT produces:
`INFO: Starting glTF 2.0 export Traceback (most recent call last): File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2_init_.py”, line 370, in execute return gltf2_blender_export.save(self, context, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py”, line 62, in save scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py”, line 32, in gather_gltf2 animations += __gather_animations(blender_scene, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py”, line 60, in __gather_animations animations += gltf2_blender_gather_animations.gather_animations(blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 39, in gather_animations animation = __gather_animation(blender_action, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 54, in __gather_animation channels=__gather_channels(blender_action, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 84, in __gather_channels return gltf2_blender_gather_animation_channels.gather_animation_channels(blender_action, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 31, in gather_animation_channels channel = __gather_animation_channel(channel_group, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 48, in __gather_animation_channel sampler=__gather_sampler(channels, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 81, in __gather_sampler export_settings File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 36, in gather_animation_sampler input=__gather_input(channels, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 61, in __gather_input keyframes = __gather_keyframes(channels, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 294, in __gather_keyframes for c in channels File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 294, in <listcomp> for c in channels IndexError: list index out of range
location: <unknown location>:-1`
Cheers and thanks for a great tool!
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (8 by maintainers)
Top GitHub Comments
Same error with shift animation on 2 differents keyframes. See file in attachment untitled.blend.zip
I reproduced it on a simplier file: