2
0
Эх сурвалжийг харах

WebXRManager: Hide controllers when exiting VR.

Mr.doob 5 жил өмнө
parent
commit
19d65aa9a6

+ 1 - 0
src/renderers/webxr/WebXRManager.js

@@ -83,6 +83,7 @@ function WebXRManager( renderer, gl ) {
 		inputSourcesMap.forEach( function ( controller, inputSource ) {
 
 			controller.dispatchEvent( { type: 'disconnected', data: inputSource } );
+			controller.visible = false;
 
 		} );