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 publishing scenes with no models i.e. the e is not iterable error. #1293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Exairnous
Copy link
Contributor

Fixes #1137
Skip trying to remap the node refs for materials if there aren't any materials in the scene. Add the length of the JSON chunk to the header when there is no binary buffer so that a valid GLB file can be generated.

Fixes Hubs-Foundation#1137
Skip trying to remap the node refs for materials if there aren't any materials in the scene.
Add the length of the JSON chunk to the header when there is no binary buffer so that a valid
GLB file can be generated.
@keianhzo keianhzo self-assigned this Mar 19, 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.

Can't publish a scene with no models in it
2 participants