remove zlist() in mesh, test structuredClone for object.clone
This commit is contained in:
parent
b34cad3523
commit
38f5399573
4 changed files with 5 additions and 23 deletions
|
|
@ -449,15 +449,6 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
});
|
||||
}
|
||||
|
||||
zlist(round = 2) {
|
||||
return new Promise((resolve,reject) => {
|
||||
let { id, matrix } = this;
|
||||
worker.model_zlist({id, matrix, round}).then(data => {
|
||||
resolve(data);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// release from a group but remain in memory and storage
|
||||
// so it can be re-assigned to another group
|
||||
ungroup() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue