소스 검색

GLTFExporter add missing argument for catch

Takahiro 7 년 전
부모
커밋
39a01e4adf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -337,7 +337,7 @@ THREE.GLTFExporter.prototype = {
 
 				return JSON.parse( JSON.stringify( userData ) );
 
-			} catch {
+			} catch ( error ) {
 
 				throw new Error( 'THREE.GLTFExporter: userData can\'t be serialized' );