move bFallbackToHandTrackingIfNoGloveDetected from tracking settings to glove tracking settings

This commit is contained in:
Mamadou Babaei
2024-08-16 16:44:30 +02:00
parent aff68a4673
commit fac9e0e7ce
5 changed files with 17 additions and 17 deletions
@@ -106,7 +106,7 @@ struct FSGXRTracker::FImpl
const USGSettings* Settings{USGSettings::GetInstance()};
ensureAlwaysMsgf(Settings, TEXT("The settings subsystem has not been initialized!"));
const bool bFallbackToHandTrackingIfNoGloveDetected =
Settings->GetTrackingSettings().bFallbackToHandTrackingIfNoGloveDetected;
Settings->GetTrackingSettings().GloveTrackingSettings.bFallbackToHandTrackingIfNoGloveDetected;
return bFallbackToHandTrackingIfNoGloveDetected;
}