Application: reset avatar on displayMode change

but not HMD sensor.
This commit is contained in:
Anthony J. Thibault 2016-03-10 13:12:09 -08:00
parent 153f7fc3aa
commit 6d11dd465c

View file

@ -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");
}