Sfoglia il codice sorgente

GLTFExporter: Clean up. (#22763)

linbingquan 3 anni fa
parent
commit
85d747b86b
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      examples/jsm/exporters/GLTFExporter.js

+ 5 - 5
examples/jsm/exporters/GLTFExporter.js

@@ -118,15 +118,15 @@ class GLTFExporter {
 
 		return new Promise( function ( resolve, reject ) {
 
-		try {
+			try {
 
-			scope.parse( input, resolve, options );
+				scope.parse( input, resolve, options );
 
-		} catch ( e ) {
+			} catch ( e ) {
 
-			reject( e );
+				reject( e );
 
-		}
+			}
 
 		} );