Răsfoiți Sursa

InterleavedBuffer.setArray method chaning

Takahiro 7 ani în urmă
părinte
comite
efdc1e6529
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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 ) {