abstract csg ops. add error handling in client
This commit is contained in:
parent
7daeaaba91
commit
d61600fbee
2 changed files with 26 additions and 23 deletions
|
|
@ -428,6 +428,11 @@ const tool = {
|
|||
mesh: data
|
||||
})]).promote();
|
||||
api.selection.set([group]);
|
||||
})
|
||||
.catch(error => {
|
||||
api.log.emit(`intersect error: ${error}`);
|
||||
})
|
||||
.finally(() => {
|
||||
api.log.emit('intersect complete').unpin();
|
||||
});
|
||||
},
|
||||
|
|
@ -447,6 +452,11 @@ const tool = {
|
|||
mesh: data
|
||||
})]).promote();
|
||||
api.selection.set([group]);
|
||||
})
|
||||
.catch(error => {
|
||||
api.log.emit(`subtract error: ${error}`);
|
||||
})
|
||||
.finally(() => {
|
||||
api.log.emit('subtract complete').unpin();
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue