We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When exporting a scene where a mesh has a Vertex Color Attribute assigned, the Exception is being thrown.
export_scene
Python: Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/4.2/scripts/modules/bpy/ops.py", line 109, in __call__ ret = _op_call(self.idname_py(), kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Error: Python: Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/4.2/scripts/addons_core/io_scene_gltf2/__init__.py", line 1288, in execute res = gltf2_blender_export.save(context, export_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/Blender.app/Contents/Resources/4.2/scripts/addons_core/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 37, in save json, buffer = __export(export_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/Blender.app/Contents/Resources/4.2/scripts/addons_core/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 65, in __export __detect_animated_extensions(exporter.glTF.to_dict(), export_settings) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/Blender.app/Contents/Resources/4.2/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io.py", line 1180, in to_dict result["accessors"] = from_union([lambda x: from_list(lambda x: to_class(Accessor, x), x), from_none], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/Blender.app/Contents/Resources/4.2/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io.py", line 46, in from_union assert False AssertionError Location: /Applications/Blender.app/Contents/Resources/4.2/scripts/modules/bpy/ops.py:109
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the selected object to be exported to gltf succesfully.
Screenshots
See file attached: test-verext-color-exception.blend.zip
Version
The text was updated successfully, but these errors were encountered:
Confirmed. This is a duplicate of #2319 Bug is on loose edges & loose vertices
Sorry, something went wrong.
Fix #2325 Fix #2319 - Vertex Color
980c617
No branches or pull requests
Describe the bug
When exporting a scene where a mesh has a Vertex Color Attribute assigned, the Exception is being thrown.
export_scene
works as expected - No issues there.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the selected object to be exported to gltf succesfully.
Screenshots
See file attached:
test-verext-color-exception.blend.zip
Version
The text was updated successfully, but these errors were encountered: