You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I currently have a glTF file that fails to export when i have the gather_animation_channel_hook registered in my addon and it turns out that this hook exists twice both in the readme and in the code.
The file exports fine without my addon enabled or when this hook is not added - the bug only appears when my hook is present.
Is this something I can fix on my side or is this a bug in the glTF exporter?
Traceback (most recent call last):
File "c:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\io\exp\gltf2_io_user_extensions.py", line 14, in export_user_extensions hook(*args, export_settings)
TypeError: glTF2ExportUserExtension.gather_animation_channel_hook() takes 7 positional arguments but 8 were given
Describe the bug
Hello, I currently have a glTF file that fails to export when i have the gather_animation_channel_hook registered in my addon and it turns out that this hook exists twice both in the readme and in the code.
The file exports fine without my addon enabled or when this hook is not added - the bug only appears when my hook is present.
Is this something I can fix on my side or is this a bug in the glTF exporter?
glTF-Blender-IO/example-addons/example_gltf_exporter_extension/readme.md
Line 22 in 295bbf7
glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/animation/sampled/armature/channels.py
Line 129 in 295bbf7
glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/animation/sampled/object/channels.py
Line 88 in 295bbf7
Screenshots
.blend file/ .gltf (mandatory)
waterbuffalo.zip
Version
The text was updated successfully, but these errors were encountered: