We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ffdea commit 0616013Copy full SHA for 0616013
src/renderers/webxr/WebXRManager.js
@@ -121,7 +121,7 @@ class WebXRManager extends EventDispatcher {
121
122
const controller = inputSourcesMap.get( event.inputSource );
123
124
- if ( controller ) {
+ if ( controller !== undefined ) {
125
126
controller.dispatchEvent( { type: event.type, data: event.inputSource } );
127
@@ -133,7 +133,7 @@ class WebXRManager extends EventDispatcher {
133
134
inputSourcesMap.forEach( function ( controller, inputSource ) {
135
136
137
138
controller.disconnect( inputSource );
139
0 commit comments