Mr.doob 11 anni fa
parent
commit
f35fd3bdb5
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1 5
      src/textures/Texture.js

+ 1 - 5
src/textures/Texture.js

@@ -51,11 +51,7 @@ THREE.Texture.prototype = {
 
 	set needsUpdate ( value ) {
 
-		if ( value === true ) {
-
-			this.version ++;
-
-		}
+		if ( value === true ) this.version ++;
 
 	},
 

粤ICP备19079148号