mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 02:48:12 +02:00
parent
7e5b9db13a
commit
88ad570024
1 changed files with 8 additions and 8 deletions
|
@ -5349,14 +5349,14 @@ void Application::updateDisplayMode() {
|
||||||
|
|
||||||
// reset the avatar, to set head and hand palms back to a reasonable default pose.
|
// reset the avatar, to set head and hand palms back to a reasonable default pose.
|
||||||
getMyAvatar()->reset(false);
|
getMyAvatar()->reset(false);
|
||||||
|
|
||||||
// go into first person when they are in HMD mode, since 3rd person HMD is dumb
|
// go into first person when they are in HMD mode, since 3rd person HMD is dumb
|
||||||
if (isHMDMode() && !menu->isOptionChecked(MenuOption::FirstPerson)) {
|
if (isHMDMode() && !menu->isOptionChecked(MenuOption::FirstPerson)) {
|
||||||
menu->setIsOptionChecked(MenuOption::FirstPerson, true);
|
menu->setIsOptionChecked(MenuOption::FirstPerson, true);
|
||||||
cameraMenuChanged();
|
cameraMenuChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
||||||
}
|
}
|
||||||
|
|
||||||
mat4 Application::getEyeProjection(int eye) const {
|
mat4 Application::getEyeProjection(int eye) const {
|
||||||
|
|
Loading…
Reference in a new issue