瀏覽代碼

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;
 
 	},