Skip to content

Conversation

tomfinegan
Copy link
Contributor

In optimized builds from MSVC draco appears to be getting garbage
values back from TinyGLTF when it parses the materials for
testdata/.../three_meshes_two_materials_one_no_material.gltf

Since there's no certainty about whether this is limited to this
particular file, just disable optimizations for
src/draco/io/gltf_decoder.cc in all MSVC build configurations.

@tomfinegan tomfinegan merged commit 7d62f1f into master Mar 11, 2022
@tomfinegan tomfinegan deleted the 826_hax branch April 8, 2022 21:22
danielgronlund pushed a commit to danielgronlund/draco that referenced this pull request Aug 22, 2024
Not really sure who is to blame, but in optimized builds from MSVC
gltf_decoder.cc appears to be getting garbage values back
from TinyGLTF when it parses the materials for
testdata/.../three_meshes_two_materials_one_no_material.gltf

Since there's no certainty about whether this is limited to this
particular file, just disable optimizations for
src/draco/io/gltf_decoder.cc in all MSVC build configurations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants