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

Prevent scene-preview-camera from being added multiple times #837

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

robertlong
Copy link
Contributor

When scenes have a spawner, the model-loaded event bubbles and the scene-preview-camera gets added multiple times. This PR only listens for the model-loaded event once on the environment scene.

Copy link
Contributor

@netpro2k netpro2k left a comment

Choose a reason for hiding this comment

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

Makes sense. Surprised this doesn't break stuff more often.

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