Pārlūkot izejas kodu

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

Mr.doob 8 gadi atpakaļ
vecāks
revīzija
ae2e1c485c
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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 );