checkpoint trace work
This commit is contained in:
parent
0ff23ef8cd
commit
44c1c850e9
11 changed files with 82 additions and 24 deletions
|
|
@ -74,7 +74,7 @@
|
|||
}
|
||||
|
||||
const { polys, lines, faces, cface, paths, cpath, color, off } = layer;
|
||||
const meshes = this.meshes;
|
||||
const meshes = [];
|
||||
const defstate = !off;
|
||||
const mats = [];
|
||||
mats.state = defstate;
|
||||
|
|
@ -185,6 +185,8 @@
|
|||
mats.appendAll(mat);
|
||||
}
|
||||
|
||||
this.new_meshes = meshes;
|
||||
this.meshes.appendAll(meshes);
|
||||
mats.forEach(mat => mat.visible = defstate);
|
||||
return mats;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue