浏览代码

Fix missing name copy in BufferAttribute.copy

Takahiro 7 年之前
父节点
当前提交
03f74c4dca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/core/BufferAttribute.js

+ 1 - 0
src/core/BufferAttribute.js

@@ -68,6 +68,7 @@ Object.assign( BufferAttribute.prototype, {
 
 	copy: function ( source ) {
 
+		this.name = source.name;
 		this.array = new source.array.constructor( source.array );
 		this.itemSize = source.itemSize;
 		this.count = source.count;