Преглед изворни кода

Fix style per review comment

Gary Oberbrunner пре 6 година
родитељ
комит
aeda49d636
1 измењених фајлова са 2 додато и 2 уклоњено
  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 ] );
 				var material = processMaterial( materials[ groups[ i ].materialIndex ] );