provide visual feedback that model is being decimated
This commit is contained in:
parent
317aec919b
commit
a46851fc8c
2 changed files with 13 additions and 3 deletions
|
|
@ -79,8 +79,10 @@ KIRI.work = {
|
|||
},
|
||||
|
||||
decimate : function(vertices, callback) {
|
||||
let alert = KIRI.api.show.alert('decimating imported model', 1000);
|
||||
vertices = vertices.buffer.slice(0);
|
||||
send("decimate", vertices, function(output) {
|
||||
KIRI.api.hide.alert(alert);
|
||||
callback(output);
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue