Browse Source

Don't return a copy of drawcalls in offsets getter

dubejf 10 years ago
parent
commit
8e36256b17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -52,7 +52,7 @@ THREE.BufferGeometry.prototype = {
 	offsets: function () {
 	offsets: function () {
 
 
 		console.warn( 'THREE.BufferGeometry: .offsets has been renamed to .drawcalls.' );
 		console.warn( 'THREE.BufferGeometry: .offsets has been renamed to .drawcalls.' );
-		return this.drawcalls.slice();
+		return this.drawcalls;
 
 
 	},
 	},