provide visual feedback that model is being decimated

This commit is contained in:
Stewart Allen 2020-06-20 20:16:06 -04:00
commit a46851fc8c
2 changed files with 13 additions and 3 deletions

View file

@ -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);
});
},