add persistence and defaults to cam animation settings

This commit is contained in:
Stewart Allen 2024-09-03 18:21:57 -04:00
commit 48205cb00f
5 changed files with 42 additions and 14 deletions

View file

@ -371,9 +371,9 @@ class Widget {
}
}
toggleVisibility() {
toggleVisibility(bool) {
const mat = this.getMaterial();
mat.visible = !mat.visible;
mat.visible = bool ?? !mat.visible;
}
/**