Forráskód Böngészése

removed adding of uuid on addAttribute

Fordy 10 éve
szülő
commit
900d1c7868
1 módosított fájl, 0 hozzáadás és 6 törlés
  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;
 
 	},