Explorar el Código

GLTFLoader: Clean up

Takahiro hace 7 años
padre
commit
eaa980cf6d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1279,7 +1279,7 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
-		return isObjectEqual( a.attributes || {}, b.attributes || {} );
+		return isObjectEqual( a.attributes, b.attributes );
 
 	}