Skip to content

Conversation

@Razakhel
Copy link
Contributor

Context

Problem occurred on a GLB file that had an indices accessor of an unsigned short component type, but with their max & min bounds written as double values. This is valid by the glTF spec, as per https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#_accessor_max and https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#_accessor_min:

Array elements MUST be treated as having the same data type as accessor’s componentType.

@spnda spnda merged commit 7352629 into spnda:main Apr 11, 2024
@Razakhel Razakhel deleted the fix-accessor-mixed-types branch April 11, 2024 18:30
@spnda spnda added enhancement New feature or request done bugfix labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants