2
0
Эх сурвалжийг харах

GLTFExporter add missing argument for catch

Takahiro 7 жил өмнө
parent
commit
39a01e4adf

+ 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' );