move bFallbackToHandTrackingIfNoGloveDetected from tracking settings to glove tracking settings

This commit is contained in:
Mamadou Babaei
2024-08-01 15:08:33 +02:00
parent f2b0aafa8d
commit e16c1d216f
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;
}