Переглянути джерело

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