mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:08:47 +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();
|
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");
|
Q_ASSERT_X(_displayPlugin, "Application::updateDisplayMode", "could not find an activated display plugin");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue