Logging HMD/Desktop Transitions
Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -6698,6 +6698,12 @@ void Application::updateDisplayMode() { · 6697 unmodified lines | |||
| 6698 | } | 6698 | } |
| 6699 | 6699 | ||
| 6700 | emit activeDisplayPluginChanged(); | 6700 | emit activeDisplayPluginChanged(); |
| 6701 | |||
| 6702 | if (_displayPlugin->isHmd()) { | ||
| 6703 | qCDebug(interfaceapp) << "Entering into HMD Mode"; | ||
| 6704 | } else { | ||
| 6705 | qCDebug(interfaceapp) << "Entering into Desktop Mode"; | ||
| 6706 | } | ||
| 6701 | 6707 | ||
| 6702 | // reset the avatar, to set head and hand palms back to a reasonable default pose. | 6708 | // reset the avatar, to set head and hand palms back to a reasonable default pose. |
| 6703 | getMyAvatar()->reset(false); | 6709 | getMyAvatar()->reset(false); |