Jelajahi Sumber

removed adding of uuid on addAttribute

Fordy 10 tahun lalu
induk
melakukan
900d1c7868
1 mengubah file dengan 0 tambahan dan 6 penghapusan
  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;
 
 	},