Browse Source

WebGLMaterials: Clean up.

Mr.doob 9 năm trước cách đây
mục cha
commit
81edb3a872
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      src/renderers/webgl/WebGLMaterials.js

+ 1 - 4
src/renderers/webgl/WebGLMaterials.js

@@ -13,10 +13,7 @@ THREE.WebGLMaterials = function () {
 
 		if ( map === undefined ) {
 
-			map = {
-
-			};
-
+			map = {};
 			properties[ uuid ] = map;
 
 		}