Ver código fonte

FBXLoader: Fixed typo in condition. See #15788.

Mr.doob 6 anos atrás
pai
commit
303c899f23
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/js/loaders/FBXLoader.js

+ 1 - 1
examples/js/loaders/FBXLoader.js

@@ -2510,7 +2510,7 @@ THREE.FBXLoader = ( function () {
 
 										sceneGraph.traverse( function ( child ) {
 
-											if ( child.ID = rawModel.id ) {
+											if ( child.ID === rawModel.id ) {
 
 												node.transform = child.matrix;