prevent cached vertex mutation
This commit is contained in:
parent
13420592dd
commit
faf92873e7
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export class Topo {
|
||||||
|
|
||||||
this.zBottom = state.zBottom ?? 0;
|
this.zBottom = state.zBottom ?? 0;
|
||||||
this.resolution = resolution;
|
this.resolution = resolution;
|
||||||
this.vertices = widget.getGeoVertices({ unroll: true, translate: true });
|
this.vertices = widget.getGeoVertices({ unroll: true, translate: true }).slice();
|
||||||
this.tabverts = widget.getTabVertices();
|
this.tabverts = widget.getTabVertices();
|
||||||
this.tool = tool.generateProfile(resolution).profile;
|
this.tool = tool.generateProfile(resolution).profile;
|
||||||
this.maxo = tool.profileDim.maxo * resolution;
|
this.maxo = tool.profileDim.maxo * resolution;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue