Explorar o código

Fixed style nits

vyv03354 %!s(int64=6) %!d(string=hai) anos
pai
achega
1607aed981
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      examples/js/loaders/GLTFLoader.js

+ 3 - 3
examples/js/loaders/GLTFLoader.js

@@ -2997,7 +2997,7 @@ THREE.GLTFLoader = ( function () {
 
 			} else if ( objects.length === 1 ) {
 
-				node = objects[0];
+				node = objects[ 0 ];
 
 			} else {
 
@@ -3005,11 +3005,11 @@ THREE.GLTFLoader = ( function () {
 
 			}
 
-			if (node !== objects[0]) {
+			if ( node !== objects[ 0 ] ) {
 
 				for ( var i = 0, il = objects.length; i < il; i ++ ) {
 
-					node.add( objects[i] );
+					node.add( objects[ i ] );
 
 				}