2
0
Эх сурвалжийг харах

BufferAttribute.setArray method chaining

Takahiro 7 жил өмнө
parent
commit
b1f1b573d2

+ 2 - 0
src/core/BufferAttribute.js

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