浏览代码

Texture: Removed "(Copy)" from copy(). See #10304.

Mr.doob 8 年之前
父节点
当前提交
ae2e1c485c
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/textures/Texture.js

+ 1 - 2
src/textures/Texture.js

@@ -79,8 +79,7 @@ Texture.prototype = {
 
 	copy: function ( source ) {
 
-
-		this.name = source.name + " (Copy)";
+		this.name = source.name;
 
 		this.image = source.image;
 		this.mipmaps = source.mipmaps.slice( 0 );