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

Fixes for environment-settings system #4660

Merged
merged 4 commits into from
Oct 4, 2021
Merged

Fixes for environment-settings system #4660

merged 4 commits into from
Oct 4, 2021

Conversation

netpro2k
Copy link
Contributor

@netpro2k netpro2k commented Sep 22, 2021

Fixes a few minor issues brought up with the environment settings system

fixes #4634
fixes #4635

@@ -58,7 +58,8 @@ const extractZipFile = promisifyWorker(new SketchfabZipWorker());

function defaultInflator(el, componentName, componentData) {
if (!AFRAME.components[componentName]) {
throw new Error(`Inflator failed. "${componentName}" component does not exist.`);
console.warn(`Inflator failed. "${componentName}" component does not exist.`);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We intentionally don't load all components on the scene page, but this causes some models to fail to load. This doesn't seem like it should be fatal, so converted it to a warning.

@netpro2k netpro2k force-pushed the env-settings-fixes branch from ab0d7fd to 3374542 Compare October 1, 2021 02:51
@netpro2k netpro2k merged commit 5a2048b into master Oct 4, 2021
@netpro2k netpro2k deleted the env-settings-fixes branch October 4, 2021 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant