glTF exporter: fix exporting single armature actions
This commit is contained in:
parent
a1f9883f53
commit
787ea78f7f
|
@ -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',
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue