speed up face generation for healing

This commit is contained in:
Stewart Allen 2021-12-09 21:33:05 -05:00
commit 955d9b9a3f
4 changed files with 36 additions and 24 deletions

View file

@ -386,7 +386,7 @@ console.log/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
}
};
PRO.heal = function(debug) {
PRO.heal = function(debug, refresh) {
if (debug) {
let mesh = this.debugMesh().heal();
let verts = mesh.vertices;
@ -430,7 +430,7 @@ console.log/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
this.modified = false;
}
resolve(this.modified);
});
}, refresh);
});
};