浏览代码

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