浏览代码

Fix bug when updating joints without requesting a hand in WebXR

Fernando Serrano 5 年之前
父节点
当前提交
18a83b9252
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;