mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fix Oculus Touch flags check
This commit is contained in:
parent
a2ba03284e
commit
07802eb284
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ void OculusControllerManager::TouchDevice::update(float deltaTime, const control
|
|||
}
|
||||
|
||||
int numTrackedControllers = 0;
|
||||
static const auto REQUIRED_HAND_STATUS = ovrStatus_OrientationTracked & ovrStatus_PositionTracked;
|
||||
static const auto REQUIRED_HAND_STATUS = ovrStatus_OrientationTracked | ovrStatus_PositionTracked;
|
||||
auto tracking = ovr_GetTrackingState(_parent._session, 0, false);
|
||||
ovr_for_each_hand([&](ovrHandType hand) {
|
||||
++numTrackedControllers;
|
||||
|
|
Loading…
Reference in a new issue