未验证 提交 18226d6d 编写于 作者: M Michael Herzog 提交者: GitHub

Core: Clean up. (#21899)

上级 053a8f0e
......@@ -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 {
toJSON() {
const data = BufferGeometry.prototype.toJSON.call( this );
const data = super.toJSON();
const shapes = this.parameters.shapes;
......
......@@ -160,9 +160,10 @@ class TubeGeometry extends BufferGeometry {
}
}
toJSON() {
const data = BufferGeometry.prototype.toJSON.call( this );
const data = super.toJSON();
data.path = this.parameters.path.toJSON();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册