experiment with less memory intensive mesh indexing
This commit is contained in:
parent
c005584c80
commit
f4e928a703
3 changed files with 112 additions and 7 deletions
|
|
@ -420,12 +420,12 @@ const tool = {
|
|||
});
|
||||
},
|
||||
|
||||
mapFaces(models) {
|
||||
mapFaces(models, opt = {}) {
|
||||
models = fallback(models);
|
||||
api.log.emit('mapping faces').pin();
|
||||
let promises = [];
|
||||
for (let m of models) {
|
||||
let p = worker.model_mapFaces({ id: m.id }).then(data => {
|
||||
let p = worker.model_mapFaces({ id: m.id, opt }).then(data => {
|
||||
// console.log({map_info: data});
|
||||
});
|
||||
promises.push(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue