未验证 提交 1d4da648 编写于 作者: M Mr.doob 提交者: GitHub

WebVR: Removed unnecessary WebXR check.

上级 352c124f
......@@ -169,7 +169,7 @@ THREE.WEBVR = {
}
if ( 'xr' in navigator && 'isSessionSupported' in navigator.xr ) {
if ( 'xr' in navigator ) {
var button = document.createElement( 'button' );
button.style.display = 'none';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册