Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2019-06-02 05:02:00 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-06-02 05:02:00 +0300
commit9666bfc81d7889f86b2d789b22f8d8e879523670 (patch)
tree88895856f24f488cabb213398edbd972398c6181 /io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py
parent2f94a95d8775ca3950b026feed0015503d511e38 (diff)
glTF importer: fix previous commit
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py')
-rwxr-xr-xio_scene_gltf2/blender/imp/gltf2_blender_animation_node.py2
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