mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Application: reset avatar on displayMode change
but not HMD sensor.
This commit is contained in:
parent
153f7fc3aa
commit
6d11dd465c
1 changed files with 3 additions and 0 deletions
|
@ -4857,6 +4857,9 @@ void Application::updateDisplayMode() {
|
|||
}
|
||||
emit activeDisplayPluginChanged();
|
||||
|
||||
// reset the avatar, to set head and hand palms back to a resonable default pose.
|
||||
getMyAvatar()->reset(false);
|
||||
|
||||
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue