* Update ExtrudeGeometry.js * Update ExtrudeGeometry.js * Update ExtrudeGeometry.js
@@ -801,6 +801,8 @@ function toJSON( shapes, options, data ) {
}
+ data.options = Object.assign( {}, options );
+
if ( options.extrudePath !== undefined ) data.options.extrudePath = options.extrudePath.toJSON();
return data;