فهرست منبع

Minor clean up.

Mr.doob 10 سال پیش
والد
کامیت
f35fd3bdb5
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  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 ++;
 
 	},