@@ -342,6 +342,8 @@ THREE.GLTFExporter.prototype = {
console.warn( 'THREE.GLTFExporter: userData of \'' + object.name + '\' ' +
'won\'t be serialized because of JSON.stringify error - ' + error.message );
+ return {};
+
}