You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Workaround for CurvePoseIndex out of bounds crash
[CODEREVIEW] Lina.Halper, Laurent.Delayen, Aaron.Cox #rnx #ROBOMERGE-OWNER: ben.marsh #ROBOMERGE-AUTHOR: braeden.shosa #ROBOMERGE-SOURCE: CL 7014082 via CL 7016740 via CL 7016747 via CL 7016816 via CL 7020855 via CL 7020952 #ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689) [CL 7093652 by braeden shosa in Dev-Build branch]
This commit is contained in:
@@ -246,7 +246,7 @@ void FAnimNode_LayeredBoneBlend::Evaluate_AnyThread(FPoseContext& Output)
|
||||
for (int32 UIDIndex = 0; UIDIndex < CurveUIDFinder->Num(); ++UIDIndex)
|
||||
{
|
||||
int32 CurvePoseIndex = Output.Curve.GetArrayIndexByUID(UIDIndex);
|
||||
if (CurvePoseIndex != INDEX_NONE)
|
||||
if (CurvePoseSourceIndices.IsValidIndex(CurvePoseIndex))
|
||||
{
|
||||
int32 SourceIndex = CurvePoseSourceIndices[CurvePoseIndex];
|
||||
if (SourceIndex != DEFAULT_SOURCEINDEX)
|
||||
|
||||
Reference in New Issue
Block a user