add persistence and defaults to cam animation settings
This commit is contained in:
parent
eb85ab002c
commit
48205cb00f
5 changed files with 42 additions and 14 deletions
|
|
@ -371,9 +371,9 @@ class Widget {
|
|||
}
|
||||
}
|
||||
|
||||
toggleVisibility() {
|
||||
toggleVisibility(bool) {
|
||||
const mat = this.getMaterial();
|
||||
mat.visible = !mat.visible;
|
||||
mat.visible = bool ?? !mat.visible;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue