linbingquan пре 3 година
родитељ
комит
85d747b86b
1 измењених фајлова са 5 додато и 5 уклоњено
  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 );
 
-		}
+			}
 
 		} );