diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-06-02 05:02:00 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-06-02 05:02:00 +0300 |
commit | 9666bfc81d7889f86b2d789b22f8d8e879523670 (patch) | |
tree | 88895856f24f488cabb213398edbd972398c6181 /io_scene_gltf2/blender | |
parent | 2f94a95d8775ca3950b026feed0015503d511e38 (diff) |
glTF importer: fix previous commit
Diffstat (limited to 'io_scene_gltf2/blender')
-rwxr-xr-x | io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py b/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py index 5cdfe6c2..87e07246 100755 --- a/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py @@ -174,7 +174,7 @@ class BlenderNodeAnim(): if animation.samplers[channel.sampler].interpolation == "CUBICSPLINE": factor = 3 - delta = len(keys) + delta = nb_targets else: factor = 1 delta = 0 |