Skip to content
New issue

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

Fix Light reference in the node issue #458 #463

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

ptc-tgamper
Copy link
Contributor

The bug is actually a crasher, if one has asserts enabled.

tiny_gltf.h - access correct json object when serializing a light, this fixes an assert and causes us to serialze the light index properly; tester.cc - add respective testcase

tiny_gltf.h - access correct json object when serializing a light, this fixes an assert and causes us to serialze the light index properly; tester.cc - add respective testcase
@syoyo syoyo merged commit 211f86e into syoyo:release Nov 23, 2023
8 checks passed
@syoyo
Copy link
Owner

syoyo commented Nov 23, 2023

Super awesome! Thanks!

@ptc-tgamper ptc-tgamper changed the title Fix Light reference in the node issue #457 Fix Light reference in the node issue #458 Nov 23, 2023
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