Browse Source

Merge pull request #19983 from fernandojsg/fixhand

Fix bug when updating joints without requesting a hand in WebXR
Mr.doob 5 years ago
parent
commit
c1857a3ac0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/webxr/WebXRController.js

+ 1 - 1
src/renderers/webxr/WebXRController.js

@@ -135,7 +135,7 @@ Object.assign( WebXRController.prototype, {
 
 		if ( inputSource ) {
 
-			if ( inputSource.hand ) {
+			if ( hand && inputSource.hand ) {
 
 				handPose = true;