Explorar el Código

Fix breakage on Chrome 73

Rik Cabanier hace 6 años
padre
commit
1aa70297ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/vr/HelioWebXRPolyfill.js

+ 1 - 1
examples/js/vr/HelioWebXRPolyfill.js

@@ -72,7 +72,7 @@ if ( /(Helio)/g.test( navigator.userAgent ) && "xr" in navigator ) {
 
 								// WebXRManager - xrFrame.getPose() Polyfill - line 259
 
-								const tempGetPose = frame.getPose.bind( frame );
+								const tempGetPose = (isHelio96 ? null : frame.getPose.bind( frame ));
 
 								frame.getPose = function ( targetRaySpace, referenceSpace ) {