diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-06-02 06:10:45 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-06-02 06:10:45 +0300 |
commit | 080d204770a1cc1a104b25235eb636cf923037f7 (patch) | |
tree | 99661bb589630196566dcafa7eb5dbb148096be4 /io_scene_gltf2/blender | |
parent | 9666bfc81d7889f86b2d789b22f8d8e879523670 (diff) |
glTF exporter: fix bad check about keyframes at different timing
Diffstat (limited to 'io_scene_gltf2/blender')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py index beeebf93..32656936 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py @@ -272,7 +272,7 @@ def needs_baking(blender_object_if_armature: typing.Optional[bpy.types.Object], # we need to bake to 'STEP', as at least two keyframes are required to interpolate return True - if not all(all_equal(key_times) for key_times in zip([[k.co[0] for k in c.keyframe_points] for c in channels])): + if not all_equal(list(zip([[k.co[0] for k in c.keyframe_points] for c in channels]))): # The channels have differently located keyframes gltf2_io_debug.print_console("WARNING", "Baking animation because of differently located keyframes in one channel") |