提交 468780fe 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10510 from Ludobaka/fix_BufferAttribute_clone

Fixed cloning BufferAttribute
......@@ -331,7 +331,7 @@ BufferAttribute.prototype = {
clone: function () {
return new this.constructor().copy( this );
return new this.constructor( this.array, this.itemSize ).copy( this );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册