Showing the changes to plugins/oculus/src/OculusBaseDisplayPlugin.cpp (1 of 6 files). Show all
Unified · Split
| @@ -36,9 +36,9 @@ bool OculusBaseDisplayPlugin::beginFrameRender(uint32_t frameIndex) { · 35 unmodified lines | ||
| 36 | 36 | if (ovr::reorientRequested(status)) { |
| 37 | 37 | emit resetSensorsRequested(); |
| 38 | 38 | } |
| 39 | − if (ovr::hmdMounted(status) != _isHmdMounted) { | |
| 40 | − _isHmdMounted = !_isHmdMounted; | |
| 41 | − emit isHmdMountedChanged(); | |
| 39 | + if (ovr::hmdMounted(status) != _hmdMounted) { | |
| 40 | + _hmdMounted = !_hmdMounted; | |
| 41 | + emit hmdMountedChanged(); | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | _currentRenderFrameInfo = FrameInfo(); |