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 images not beeing embeded into stream #362

Merged
merged 1 commit into from
Jun 29, 2022
Merged

Conversation

hschwane
Copy link
Contributor

The documentation of WriteGltfSceneToStream states that buffers and images will be embeded. When testing I had quite some trouble to teach the exporter to include my images (I am building the gltf (including images) from scratch for exporting). I noticed embedImages was set to false when calling WriteGltfSceneToStream. I assume this is a bug, so this PR fixes that.

@syoyo syoyo merged commit 3d41504 into syoyo:master Jun 29, 2022
@syoyo
Copy link
Owner

syoyo commented Jun 29, 2022

Thanks! Merged!

TODO: Make WriteGltfSceneToStream API more flexible #359

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