浏览代码

InterleavedBuffer.setArray method chaning

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

+ 2 - 0
src/core/InterleavedBuffer.js

@@ -43,6 +43,8 @@ Object.assign( InterleavedBuffer.prototype, {
 		this.count = array !== undefined ? array.length / this.stride : 0;
 		this.array = array;
 
+		return this;
+
 	},
 
 	setDynamic: function ( value ) {