Browse Source

XRControllerModelFactory: Fix undefined componentId

Tristan VALCKE 5 years ago
parent
commit
2a992ed098
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/webxr/XRControllerModelFactory.js

+ 1 - 1
examples/jsm/webxr/XRControllerModelFactory.js

@@ -139,7 +139,7 @@ function findNodes( motionController, scene ) {
 
 			} else {
 
-				console.warn( `Could not find touch dot, ${component.touchPointNodeName}, in touchpad component ${componentId}` );
+				console.warn( `Could not find touch dot, ${component.touchPointNodeName}, in touchpad component ${component.id}` );
 
 			}