mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-15 07:15:01 +02:00
check/uncheck the overlays menu when you toggle the overlays via some other mechanism
This commit is contained in:
parent
5828c32041
commit
526f9dc248
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ void OverlayConductor::setEnabled(bool enabled) {
|
|||
return;
|
||||
}
|
||||
|
||||
Menu::getInstance()->setIsOptionChecked(MenuOption::Overlays, enabled);
|
||||
|
||||
if (_enabled) {
|
||||
// alpha fadeOut the overlay mesh.
|
||||
qApp->getApplicationCompositor().fadeOut();
|
||||
|
|
Loading…
Reference in a new issue