when healing enabled, warn when non-manifold geometry detected. update release notes

This commit is contained in:
Stewart Allen 2022-09-08 13:26:47 -04:00
commit 059dbced58
8 changed files with 62 additions and 14 deletions

View file

@ -433,11 +433,13 @@ kiri.worker = {
send.data({send_end: time()});
}
send.done({done: true});
}, function(update, msg) {
}, function(update, msg, alert) {
now = time();
if (now - last < 10 && update < 0.99) return;
// on alert
if (alert) send.data({ alert });
// on update
send.data({update: (0.05 + update * 0.95), updateStatus: msg});
if (now - last < 10 && update < 0.99) return;
if (update || msg) send.data({update: (0.05 + update * 0.95), updateStatus: msg});
last = now;
});
},