Przeglądaj źródła

Update GLTFLoader.js

Remove .uuid
Riccardo Padovani 6 lat temu
rodzic
commit
629facfd08
1 zmienionych plików z 1 dodań i 1 usunięć
  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 ] );
 
 		}