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

Prevent crash when loading meshopt-compressed models #122

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

javagl
Copy link
Owner

@javagl javagl commented Dec 1, 2024

JglTF does not support EXT_meshopt_compression!

(And hardly any other extensions - see #109)

This PR only pragmatically prevents a crash (NullPointerException) when trying to load a meshopt-compressed model.

As part of broader extension support, JglTF should check whether a given asset contains extensionsRequired that are not supported (like meshopt, usually), and handle this case... differently.

@javagl javagl merged commit 84ce6d0 into master Dec 1, 2024
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.

1 participant