Explorar o código

Update GLTFLoader.js

Remove .uuid
Riccardo Padovani %!s(int64=6) %!d(string=hai) anos
pai
achega
629facfd08
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1585,7 +1585,7 @@ THREE.GLTFLoader = ( function () {
 
 		for ( var i = 0, il = primitives.length; i < il; i ++ ) {
 
-			key += i + createPrimitiveKey( primitives[ i ].uuid );
+			key += i + createPrimitiveKey( primitives[ i ] );
 
 		}