Merge pull request #9703 from kunalgosar/logDisplayMode

Logging HMD/Desktop Transitions
This commit is contained in:
Chris Collins 2017-02-17 17:07:02 -08:00 committed by GitHub
commit ec07969c0b

View file

@ -6698,6 +6698,12 @@ void Application::updateDisplayMode() {
}
emit activeDisplayPluginChanged();
if (_displayPlugin->isHmd()) {
qCDebug(interfaceapp) << "Entering into HMD Mode";
} else {
qCDebug(interfaceapp) << "Entering into Desktop Mode";
}
// reset the avatar, to set head and hand palms back to a reasonable default pose.
getMyAvatar()->reset(false);