Skip to content

Commit bfe4690

Browse files
committed
update lod name
1 parent 212983c commit bfe4690

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CathodeLib/Scripts/CATHODE/Models.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ override protected bool LoadInternal(MemoryStream stream)
222222
{
223223
if (submeshMetadata[currentLOD].childLODIndex == offsetData.Item1)
224224
{
225-
lod = new CS2.Component.LOD(submeshMetadata[binIndex].submeshName);
225+
lod = new CS2.Component.LOD(submeshMetadata[offsetData.Item1].submeshName);
226226
component.LODs.Add(lod);
227227
currentLOD = offsetData.Item1;
228228
}

0 commit comments

Comments
 (0)