add model visibility and stock transparency toggles to cam animation bar
This commit is contained in:
parent
200a7a2e4c
commit
973ee98200
3 changed files with 47 additions and 23 deletions
|
|
@ -371,6 +371,11 @@ class Widget {
|
|||
}
|
||||
}
|
||||
|
||||
toggleVisibility() {
|
||||
const mat = this.getMaterial();
|
||||
mat.visible = !mat.visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* center geometry bottom (on platform) at 0,0,0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue