From 373f7ee3a0306d6ed2c6710d3586b0affbecf298 Mon Sep 17 00:00:00 2001 From: y-khodja <114567493+y-khodja@users.noreply.github.com> Date: Tue, 14 May 2024 11:37:24 +0200 Subject: [PATCH] gather animation hook for all animations --- .../blender/exp/animation/gltf2_blender_gather_action.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/io_scene_gltf2/blender/exp/animation/gltf2_blender_gather_action.py b/addons/io_scene_gltf2/blender/exp/animation/gltf2_blender_gather_action.py index 8b3da5fc3..6aa1abcbe 100644 --- a/addons/io_scene_gltf2/blender/exp/animation/gltf2_blender_gather_action.py +++ b/addons/io_scene_gltf2/blender/exp/animation/gltf2_blender_gather_action.py @@ -426,6 +426,9 @@ def gather_action_animations( obj_uuid: int, link_samplers(animation, export_settings) animations.append(animation) + # export user extensions for all types of animation + export_user_extensions('gather_animation_hook', export_settings, animation, blender_action, blender_object) + # Store data for merging animation later if track_name is not None: # Do not take into account animation not in NLA # Do not take into account default NLA track names