Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

Enhancement/activated fade out#29

Open
kevinvz wants to merge 10 commits intodevfrom
enhancement/activatedFadeOut
Open

Enhancement/activated fade out#29
kevinvz wants to merge 10 commits intodevfrom
enhancement/activatedFadeOut

Conversation

@kevinvz
Copy link
Copy Markdown
Contributor

@kevinvz kevinvz commented Dec 4, 2019

src/index.js Outdated
return Promise.resolve(this.vatomView.blockv.UserManager.encodeAssetProvider(resource.value.value || '')).then(resourceURL =>
isGLB
? this.loadGLTFScene(resourceURL)
Promise.resolve(this.vatomView.blockv.UserManager.encodeAssetProvider(resource.value.value || '')).then(resourceURL =>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Promise.resolve(this.vatomView.blockv.UserManager.encodeAssetProvider(resource.value.value || '')).then(resourceURL =>
return Promise.resolve(this.vatomView.blockv.UserManager.encodeAssetProvider(resource.value.value || '')).then(resourceURL =>

Missing return here, if the model fails to load the error will not propagate back to the viewer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants