mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-28 21:31:12 +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
|
// Application.cpp
|
||||||
// interface/src
|
// interface/src
|
||||||
|
@ -1705,7 +1706,6 @@ void Application::toggleTabletUI(bool shouldOpen) const {
|
||||||
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
||||||
auto hmd = DependencyManager::get<HMDScriptingInterface>();
|
auto hmd = DependencyManager::get<HMDScriptingInterface>();
|
||||||
TabletProxy* tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET));
|
TabletProxy* tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet(SYSTEM_TABLET));
|
||||||
bool messageOpen = tablet->isMessageDialogOpen();
|
|
||||||
if (!(shouldOpen && hmd->getShouldShowTablet())) {
|
if (!(shouldOpen && hmd->getShouldShowTablet())) {
|
||||||
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
auto HMD = DependencyManager::get<HMDScriptingInterface>();
|
||||||
HMD->toggleShouldShowTablet();
|
HMD->toggleShouldShowTablet();
|
||||||
|
|
Loading…
Reference in a new issue