Просмотр исходного кода

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

Mr.doob 8 лет назад
Родитель
Сommit
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 ) {
 	copy: function ( source ) {
 
 
-
-		this.name = source.name + " (Copy)";
+		this.name = source.name;
 
 
 		this.image = source.image;
 		this.image = source.image;
 		this.mipmaps = source.mipmaps.slice( 0 );
 		this.mipmaps = source.mipmaps.slice( 0 );