speed up face generation for healing
This commit is contained in:
parent
2f2b104d72
commit
955d9b9a3f
4 changed files with 36 additions and 24 deletions
|
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue