Explorar o código

Merge pull request #19983 from fernandojsg/fixhand

Fix bug when updating joints without requesting a hand in WebXR
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
c1857a3ac0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;