You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix an ensure that will always fire
#rnx #rb jimmy.andrews #jira UE-118988 [CL 16781238 by tyson brochu in ue5-main branch]
This commit is contained in:
@@ -317,7 +317,7 @@ bool UClothingAssetCommon::BindToSkeletalMesh(
|
||||
for (uint32 OriginalIndex : IndexView)
|
||||
{
|
||||
const int32 TempIndex = (int32)OriginalIndex - (int32)OriginalSection.BaseVertexIndex;
|
||||
if (ensure(RenderIndices.IsValidIndex(TempIndex)))
|
||||
if (ensure(RenderPositions.IsValidIndex(TempIndex)))
|
||||
{
|
||||
RenderIndices.Add(TempIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user