Explorar o código

removed adding of uuid on addAttribute

Fordy %!s(int64=10) %!d(string=hai) anos
pai
achega
900d1c7868
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  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;
 
 	},