diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index f1bbb0ab9e..8225d27033 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -5847,9 +5847,7 @@ void Application::reloadResourceCaches() { DependencyManager::get()->reloadAllScripts(); getOffscreenUI()->clearCache(); - auto keyboard = DependencyManager::get(); - keyboard->createKeyboard(); - keyboard->scaleKeyboard(getMyAvatar()->getSensorToWorldScale()); + DependencyManager::get()->createKeyboard(); getMyAvatar()->resetFullAvatarURL(); } diff --git a/interface/src/ui/Keyboard.cpp b/interface/src/ui/Keyboard.cpp index 1cbe31f1eb..6262210620 100644 --- a/interface/src/ui/Keyboard.cpp +++ b/interface/src/ui/Keyboard.cpp @@ -910,6 +910,9 @@ void Keyboard::loadKeyboardFile(const QString& keyboardFile) { }); _layerIndex = 0; addIncludeItemsToMallets(); + + auto myAvatar = DependencyManager::get()->getMyAvatar(); + scaleKeyboard(myAvatar->getSensorToWorldScale()); }); request->send();