Visitar URL original
fix VRControls onError by jzitelli · Pull Request #8023 · mrdoob/three.js · GitHub
Skip to content

fix VRControls onError - #8023

Merged
mrdoob merged 1 commit into
mrdoob:devfrom
jzitelli:pr/VRControlsOnError
Jan 27, 2016
Merged

mrdoob merged 1 commit into
mrdoob:devfrom
jzitelli:pr/VRControlsOnError

Conversation

@jzitelli

Copy link
Copy Markdown
Contributor

The VRControls onError callback was always being called (if it was provided), now it should only be called when no input devices are available. Error msg also slightly modified.

mrdoob added a commit that referenced this pull request Jan 27, 2016
@mrdoob
mrdoob merged commit 2b3e94a into mrdoob:dev Jan 27, 2016
@mrdoob

mrdoob commented Jan 27, 2016

Copy link
Copy Markdown
Owner

Thanks! Maybe we can use try catch instead though?

@jzitelli
jzitelli deleted the pr/VRControlsOnError branch March 4, 2016 01:30
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