Explorar o código

copy function should return the result to work

simonThiele %!s(int64=9) %!d(string=hai) anos
pai
achega
0972db114e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/InterleavedBuffer.js

+ 2 - 0
src/core/InterleavedBuffer.js

@@ -52,6 +52,8 @@ THREE.InterleavedBuffer.prototype = {
 		this.stride = source.stride;
 		this.dynamic = source.dynamic;
 
+		return this;
+
 	},
 
 	copyAt: function ( index1, attribute, index2 ) {