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: auto projection should be set to the correct value and not auto #4

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

brandonocasey
Copy link
Contributor

Right now we recurse into changeProjection with the correct value, but because we don't return when we recurse, the currentProjection is set back to AUTO. Which causes the plugin to init, even in cases where it shouldn't (currentProjection is NONE)

Copy link
Member

@misteroneill misteroneill left a comment

Choose a reason for hiding this comment

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

LGTM

@brandonocasey brandonocasey merged commit 377e8a6 into master Aug 1, 2017
@brandonocasey brandonocasey deleted the fix/auto branch August 3, 2017 20:40
kevleyski added a commit to kevleyski/videojs-vr that referenced this pull request Dec 20, 2022
[KJSL] Add WebXR immersive VR support
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