Explorar o código

Fix style per review comment

Gary Oberbrunner %!s(int64=6) %!d(string=hai) anos
pai
achega
aeda49d636
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 ] );