diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-03-31 22:17:33 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2022-03-31 22:17:33 +0300 |
commit | 787ea78f7fa6f0373d80ba1247768402df93f8ad (patch) | |
tree | 8cb627e5646f0e98ad5ea3f60c14248850813377 | |
parent | a1f9883f530edea59313fedf0ce36dba887e27a1 (diff) |
glTF exporter: fix exporting single armature actions
-rwxr-xr-x | io_scene_gltf2/__init__.py | 2 | ||||
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index 9bb1939f..c844838b 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -4,7 +4,7 @@ bl_info = { 'name': 'glTF 2.0 format', 'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors', - "version": (3, 2, 21), + "version": (3, 2, 22), 'blender': (3, 1, 0), 'location': 'File > Import-Export', 'description': 'Import-Export as glTF 2.0', diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py index 0a513521..6dd401e9 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py @@ -316,6 +316,7 @@ def __get_blender_actions(blender_object: bpy.types.Object, for act in [a for a in bpy.data.actions if a.id_root == "OBJECT"]: blender_actions.append(act) blender_tracks[act.name] = None + action_on_type[act.name] = "OBJECT" export_user_extensions('gather_actions_hook', export_settings, blender_object, blender_actions, blender_tracks, action_on_type) |