提交 6cc768f0 编写于 作者: D dubejf

Remove recursive arg from Mesh.clone()

上级 89491d9b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册