Browse Source

GLTFExporter: Clean up. (#22763)

linbingquan 3 years ago
parent
commit
85d747b86b
1 changed files with 5 additions and 5 deletions
  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 );
 
-		}
+			}
 
 		} );