mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-27 20:10:17 +02:00
fixed warning compile error
This commit is contained in:
parent
12206cf711
commit
070db2922d
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
//
|
||||
// Application.cpp
|
||||
// interface/src
|
||||
|
@ -1705,7 +1706,6 @@ void Application::toggleTabletUI(bool shouldOpen) const {
|
|||
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
||||
auto hmd = DependencyManager::get<HMDScriptingInterface>();
|
||||
TabletProxy* tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET));
|
||||
bool messageOpen = tablet->isMessageDialogOpen();
|
||||
if (!(shouldOpen && hmd->getShouldShowTablet())) {
|
||||
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
||||
HMD->toggleShouldShowTablet();
|
||||
|
|
Loading…
Reference in a new issue