mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
force vto to false on start up
This commit is contained in:
parent
02535722ba
commit
7434cc5644
2 changed files with 3 additions and 2 deletions
|
@ -2000,7 +2000,7 @@ void Application::initializeUi() {
|
|||
rootContext->setContextProperty("ScriptDiscoveryService", DependencyManager::get<ScriptEngines>().data());
|
||||
rootContext->setContextProperty("AudioDevice", AudioDeviceScriptingInterface::getInstance());
|
||||
|
||||
// Caches
|
||||
|
||||
rootContext->setContextProperty("AnimationCache", DependencyManager::get<AnimationCache>().data());
|
||||
rootContext->setContextProperty("TextureCache", DependencyManager::get<TextureCache>().data());
|
||||
rootContext->setContextProperty("ModelCache", DependencyManager::get<ModelCache>().data());
|
||||
|
@ -3788,7 +3788,7 @@ void Application::loadSettings() {
|
|||
}
|
||||
|
||||
getMyAvatar()->loadData();
|
||||
|
||||
setTabletVisibleToOthersSetting(false);
|
||||
_settingsLoaded = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ void setupPreferences() {
|
|||
preferences->addPreference(new CheckPreference(UI_CATEGORY, "HMD Tablet Becomes Toolbar", getter, setter));
|
||||
}
|
||||
// TODO
|
||||
// Note: If this code is added back, you must remove the line "setTabletVisibleToOthersSetting(false)" from Application::loadSettings()
|
||||
/*{
|
||||
auto getter = []()->bool { return qApp->getTabletVisibleToOthersSetting(); };
|
||||
auto setter = [](bool value) { qApp->setTabletVisibleToOthersSetting(value); };
|
||||
|
|
Loading…
Reference in a new issue