Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -1860,8 +1860,7 @@ void Application::setEnableVRMode(bool enableVRMode) { · 1859 unmodified lines | |||
| 1860 | // attempt to reconnect the Oculus manager - it's possible this was a workaround | 1860 | // attempt to reconnect the Oculus manager - it's possible this was a workaround |
| 1861 | // for the sixense crash | 1861 | // for the sixense crash |
| 1862 | OculusManager::disconnect(); | 1862 | OculusManager::disconnect(); |
| 1863 | _glWidget->makeCurrent(); | 1863 | OculusManager::connect(_glWidget->context()->contextHandle()); |
| 1864 | OculusManager::connect(); | ||
| 1865 | } | 1864 | } |
| 1866 | OculusManager::recalibrate(); | 1865 | OculusManager::recalibrate(); |
| 1867 | } else { | 1866 | } else { |