소스 검색

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 );