Explorar o código

Minor clean up.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
f35fd3bdb5
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  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号