let subtract behave like union
This commit is contained in:
parent
b82c411313
commit
df3d3941c8
2 changed files with 5 additions and 5 deletions
|
|
@ -384,10 +384,10 @@ const tool = {
|
|||
return { id: m.id, matrix: m.matrix, tool: m.tool() }
|
||||
}))
|
||||
.then(data => {
|
||||
let group = api.group.new(data.map(el => new mesh.model({
|
||||
let group = api.group.new([new mesh.model({
|
||||
file: `subtracted`,
|
||||
mesh: el
|
||||
}) )).promote();
|
||||
mesh: data
|
||||
})]).promote();
|
||||
api.selection.set([group]);
|
||||
api.log.emit('subtract complete').unpin();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue