Sfoglia il codice sorgente

removed adding of uuid on addAttribute

Fordy 10 anni fa
parent
commit
900d1c7868
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/core/BufferGeometry.js

+ 0 - 6
src/core/BufferGeometry.js

@@ -40,12 +40,6 @@ THREE.BufferGeometry.prototype = {
 
 		}
 
-		if ( ! attribute.uuid ) {
-
-			attribute.uuid = THREE.Math.generateUUID();
-
-		}
-
 		this.attributes[ name ] = attribute;
 
 	},