Browse Source

Fix style per review comment

Gary Oberbrunner 6 năm trước cách đây
mục cha
commit
aeda49d636
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/js/exporters/GLTFExporter.js

+ 2 - 2
examples/js/exporters/GLTFExporter.js

@@ -1360,8 +1360,8 @@ THREE.GLTFExporter.prototype = {
 
 					}
 
-					if (primitive.indices === null)
-						delete primitive.indices
+					if ( primitive.indices === null ) delete primitive.indices;
+
 				}
 
 				var material = processMaterial( materials[ groups[ i ].materialIndex ] );