stop slicing on errors. alert when no cam processes selected
This commit is contained in:
parent
9fff3c50b5
commit
0f31315f4d
4 changed files with 19 additions and 7 deletions
|
|
@ -547,13 +547,14 @@ var gs_kiri_widget = exports;
|
|||
if (reply.send_end) widget.stats.load_time = widget.xfer.start - reply.send_end;
|
||||
if (reply.slices) { widget.clearSlices(); widget.slices = [] };
|
||||
if (reply.slice) widget.slices.push(KIRI.codec.decode(reply.slice, {mesh:widget.mesh}));
|
||||
if (reply.done) {
|
||||
if (reply.error) {
|
||||
widget.cancel = true;
|
||||
ondone(false, reply.error);
|
||||
}
|
||||
if (reply.done && !widget.cancel) {
|
||||
ondone(true);
|
||||
widget.modified = false;
|
||||
}
|
||||
if (reply.error) {
|
||||
alert(reply.error);
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue