@@ -686,7 +686,7 @@ class ExtrudeGeometry extends BufferGeometry {
toJSON() {
- const data = BufferGeometry.prototype.toJSON.call( this );
+ const data = super.toJSON();
const shapes = this.parameters.shapes;
const options = this.parameters.options;
@@ -129,7 +129,7 @@ class ShapeGeometry extends BufferGeometry {
@@ -160,9 +160,10 @@ class TubeGeometry extends BufferGeometry {
}
+
data.path = this.parameters.path.toJSON();