Selaa lähdekoodia

CubeTexture: Reverted flipY in clone. Texture is already cloning it. See #6838.

Mr.doob 10 vuotta sitten
vanhempi
commit
45941c6830
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      src/textures/CubeTexture.js

+ 0 - 1
src/textures/CubeTexture.js

@@ -23,7 +23,6 @@ THREE.CubeTexture.clone = function ( texture ) {
 	THREE.Texture.prototype.clone.call( this, texture );
 	THREE.Texture.prototype.clone.call( this, texture );
 
 
 	texture.images = this.images;
 	texture.images = this.images;
-	texture.flipY = this.flipY;
 
 
 	return texture;
 	return texture;