make wireframe a global toggle
This commit is contained in:
parent
361b53c6d1
commit
f7d31b4ebb
4 changed files with 38 additions and 19 deletions
|
|
@ -157,13 +157,6 @@ let selection = {
|
|||
return selection;
|
||||
},
|
||||
|
||||
wireframe() {
|
||||
for (let m of selection.models()) {
|
||||
m.wireframe(...arguments);
|
||||
}
|
||||
return selection;
|
||||
},
|
||||
|
||||
boundsBox() {
|
||||
for (let m of selection.groups()) {
|
||||
m.showBounds(...arguments);
|
||||
|
|
@ -240,6 +233,12 @@ let api = mesh.api = {
|
|||
));
|
||||
},
|
||||
|
||||
wireframe() {
|
||||
for (let m of api.model.list()) {
|
||||
m.wireframe(...arguments);
|
||||
}
|
||||
},
|
||||
|
||||
selection,
|
||||
|
||||
group,
|
||||
|
|
|
|||
Loading…
Reference in a new issue