Browse Source

Remove recursive arg from Mesh.clone()

dubejf 10 years ago
parent
commit
6cc768f0b4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/objects/Mesh.js

+ 3 - 3
src/objects/Mesh.js

@@ -305,16 +305,16 @@ THREE.Mesh.prototype.raycast = ( function () {
 
 }() );
 
-THREE.Mesh.prototype.clone = function ( recursive ) {
+THREE.Mesh.prototype.clone = function () {
 
 	var mesh = new THREE.Mesh( this.geometry, this.material );
 	return this.cloneProperties( mesh );
 
 };
 
-THREE.Mesh.prototype.cloneProperties = function ( mesh, recursive ) {
+THREE.Mesh.prototype.cloneProperties = function ( mesh ) {
 
-	THREE.Object3D.prototype.cloneProperties.call( this, mesh, recursive );
+	THREE.Object3D.prototype.cloneProperties.call( this, mesh );
 
 	return mesh;