add sketch item poly outlines, allow for deletion
This commit is contained in:
parent
2eb3582eca
commit
67d6ff5726
4 changed files with 57 additions and 12 deletions
|
|
@ -130,7 +130,11 @@ const selection = {
|
|||
|
||||
// remove all
|
||||
delete() {
|
||||
for (let s of selection.list(true)) {
|
||||
let list = selection.list(true);
|
||||
if (list[0].type === 'sketch' && list[0].delete_selected()) {
|
||||
return;
|
||||
}
|
||||
for (let s of list) {
|
||||
selection.remove(s);
|
||||
tools.remove(s);
|
||||
s.showBounds(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue