소스 검색

removed adding of uuid on addAttribute

Fordy 10 년 전
부모
커밋
900d1c7868
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  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;
 
 	},