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

AssetListLoader json model fix #4296

Merged
merged 4 commits into from
Jun 6, 2022
Merged

AssetListLoader json model fix #4296

merged 4 commits into from
Jun 6, 2022

Conversation

ellthompson
Copy link
Contributor

If the AssetListLoader is loading an asset which contains a json model, it needs to load the model's materials too. This can be achieved by using the AssetRegistry's loadFromURL function.

Also:

  • Removed the now unused examples browser AssetLoader module.
  • Added a polyfill for Object.values which is used by multiple examples to pass in assets to the AssetListLoader.

Fixes #4295

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@ellthompson ellthompson requested a review from a team June 6, 2022 11:01
@ellthompson ellthompson self-assigned this Jun 6, 2022
@ellthompson ellthompson merged commit b17d9b1 into main Jun 6, 2022
@ellthompson ellthompson deleted the asset-loader-json-models branch June 6, 2022 11:07
slimbuck pushed a commit that referenced this pull request Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json model no longer loads materials
3 participants