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>2022-10-05 11:07:58 +0300
committerJulien Duroure <julien.duroure@gmail.com>2022-10-05 11:07:58 +0300
commit106cb51ab9ad26c473afa95440db3f2958af3599 (patch)
tree9b6c18357b45bbffba2c84e2ed2bd3a4a554fd19 /io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py
parenteb3dcfc70c7f0a7f4050509c7cded9a657e2f560 (diff)
glTF exporter: fix object parented to bones with own animation
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py')
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py
index 3539b968..4ca7cdf5 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py
@@ -89,6 +89,7 @@ def objectcache(func):
if cache_key_args[0] not in func.__objectcache.keys():
result = func(*args)
func.__objectcache = result
+ # Here are the key used: result[obj_uuid][action_name][frame]
return result[cache_key_args[0]][cache_key_args[1]][cache_key_args[4]]
# object is in cache, but not this action
# We need to keep other actions