add pinned log spinner
This commit is contained in:
parent
2065e54213
commit
262a86cd2e
5 changed files with 32 additions and 5 deletions
|
|
@ -592,7 +592,7 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
let { a, b, c } = face;
|
||||
let timer = setTimeout(() => {
|
||||
timer = undefined;
|
||||
mesh.api.log.emit("matching surface...");
|
||||
mesh.api.log.emit("matching surface").pin();
|
||||
}, 500);
|
||||
worker.model_select({
|
||||
id: this.id, x, y:-z, z:y, a, b, c, matrix: this.matrix, radians
|
||||
|
|
@ -605,6 +605,10 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
// this.toggleSelectedVertices(verts);
|
||||
this.selectFaces(faces, action);
|
||||
this.updateSelections();
|
||||
if (!timer) {
|
||||
mesh.api.log.emit("surface match complete").unpin();
|
||||
moto.space.refresh();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue