mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +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.
|
||||
getMyAvatar()->reset(false);
|
||||
|
||||
// go into first person when they are in HMD mode, since 3rd person HMD is dumb
|
||||
if (isHMDMode() && !menu->isOptionChecked(MenuOption::FirstPerson)) {
|
||||
menu->setIsOptionChecked(MenuOption::FirstPerson, true);
|
||||
cameraMenuChanged();
|
||||
}
|
||||
|
||||
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
||||
|
||||
// go into first person when they are in HMD mode, since 3rd person HMD is dumb
|
||||
if (isHMDMode() && !menu->isOptionChecked(MenuOption::FirstPerson)) {
|
||||
menu->setIsOptionChecked(MenuOption::FirstPerson, true);
|
||||
cameraMenuChanged();
|
||||
}
|
||||
|
||||
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
||||
}
|
||||
|
||||
mat4 Application::getEyeProjection(int eye) const {
|
||||
|
|
Loading…
Reference in a new issue