Pārlūkot izejas kodu

GLTFExporter: Clean up. (#22763)

linbingquan 3 gadi atpakaļ
vecāks
revīzija
85d747b86b
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  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 ) {
 		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 );
 
 
-		}
+			}
 
 
 		} );
 		} );