Преглед изворни кода

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 ) {