mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 02:56:42 +02:00
a better fix
This commit is contained in:
parent
d88a13fc80
commit
5f5e7d5f4e
2 changed files with 4 additions and 3 deletions
|
@ -5847,9 +5847,7 @@ void Application::reloadResourceCaches() {
|
|||
DependencyManager::get<ScriptEngines>()->reloadAllScripts();
|
||||
getOffscreenUI()->clearCache();
|
||||
|
||||
auto keyboard = DependencyManager::get<Keyboard>();
|
||||
keyboard->createKeyboard();
|
||||
keyboard->scaleKeyboard(getMyAvatar()->getSensorToWorldScale());
|
||||
DependencyManager::get<Keyboard>()->createKeyboard();
|
||||
|
||||
getMyAvatar()->resetFullAvatarURL();
|
||||
}
|
||||
|
|
|
@ -910,6 +910,9 @@ void Keyboard::loadKeyboardFile(const QString& keyboardFile) {
|
|||
});
|
||||
_layerIndex = 0;
|
||||
addIncludeItemsToMallets();
|
||||
|
||||
auto myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
|
||||
scaleKeyboard(myAvatar->getSensorToWorldScale());
|
||||
});
|
||||
|
||||
request->send();
|
||||
|
|
Loading…
Reference in a new issue