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

Improve yoga/assimp importing success rate #21

Open
Breush opened this issue May 29, 2018 · 0 comments
Open

Improve yoga/assimp importing success rate #21

Breush opened this issue May 29, 2018 · 0 comments

Comments

@Breush
Copy link
Contributor

Breush commented May 29, 2018

Currently, yoga is not able to import a glb, as the check for the format wants to make sure that the filename ends with .glb (and it does not because assimp reads memory).

Provide a pHint argument to readFileFromMemory: http://assimp.sourceforge.net/lib_html/class_assimp_1_1_importer.html#a9b3c5e8b1042702f449e84a95b3324f6

Generate it from lowercased the filename's extension (if any).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant