menu order, optimize bounds/wire show/hide
This commit is contained in:
parent
885bda5c65
commit
91995b5762
4 changed files with 13 additions and 2 deletions
|
|
@ -150,9 +150,13 @@ mesh.object = class MeshObject {
|
|||
}
|
||||
|
||||
showBounds(bool) {
|
||||
let was = this._showBounds;
|
||||
if (bool && bool.toggle) {
|
||||
bool = !this._showBounds;
|
||||
}
|
||||
if (was === bool) {
|
||||
return;
|
||||
}
|
||||
this._showBounds = bool;
|
||||
this.updateBoundsBox();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue