fix a runuat build issues on ue 5.4
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user