fix a runuat build issues on ue 5.4

This commit is contained in:
Mamadou Babaei
2025-11-18 04:09:38 +01:00
parent f639bf6957
commit eb56601297
@@ -116,8 +116,8 @@ void FSGVirtualHandAnimInstanceProxy::PreEvaluateAnimation(UAnimInstance* InAnim
ensureAlwaysMsgf(HandTrackingState.HandKeyLocations.Num() == HandTrackingState.HandKeyRotations.Num(), ensureAlwaysMsgf(HandTrackingState.HandKeyLocations.Num() == HandTrackingState.HandKeyRotations.Num(),
TEXT("Mismatched hand tracking state locations and rotations!")); TEXT("Mismatched hand tracking state locations and rotations!"));
#else /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */ #else /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
const bool bGotMotionControllerData = VirtualHand->GetMotionControllerData(MotionControllerData); MotionControllerData = VirtualHand->GetMotionControllerData();
if (!bGotMotionControllerData || !MotionControllerData.bValid) if (!MotionControllerData.bValid)
{ {
return; return;
} }