From 18a83b925221e02a083957aca67927b7c175a0c8 Mon Sep 17 00:00:00 2001 From: Fernando Serrano Date: Sat, 1 Aug 2020 18:23:04 +0200 Subject: [PATCH] Fix bug when updating joints without requesting a hand in WebXR --- src/renderers/webxr/WebXRController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/webxr/WebXRController.js b/src/renderers/webxr/WebXRController.js index 961fe0c38ef6de..f1140ed66e5ed3 100644 --- a/src/renderers/webxr/WebXRController.js +++ b/src/renderers/webxr/WebXRController.js @@ -135,7 +135,7 @@ Object.assign( WebXRController.prototype, { if ( inputSource ) { - if ( inputSource.hand ) { + if ( hand && inputSource.hand ) { handPose = true;