Skip to content
Snippets Groups Projects
Commit 787ea78f authored by Julien Duroure's avatar Julien Duroure
Browse files

glTF exporter: fix exporting single armature actions

parent a1f9883f
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
bl_info = { bl_info = {
'name': 'glTF 2.0 format', 'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors', '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), 'blender': (3, 1, 0),
'location': 'File > Import-Export', 'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0', 'description': 'Import-Export as glTF 2.0',
......
...@@ -316,6 +316,7 @@ def __get_blender_actions(blender_object: bpy.types.Object, ...@@ -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"]: for act in [a for a in bpy.data.actions if a.id_root == "OBJECT"]:
blender_actions.append(act) blender_actions.append(act)
blender_tracks[act.name] = None 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) export_user_extensions('gather_actions_hook', export_settings, blender_object, blender_actions, blender_tracks, action_on_type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment