Explorar o código

GLTFExporter add missing argument for catch

Takahiro %!s(int64=7) %!d(string=hai) anos
pai
achega
39a01e4adf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' );