We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf875b4 commit e7c7c6aCopy full SHA for e7c7c6a
xivModdingFramework/Models/FileTypes/Mdl.cs
@@ -970,7 +970,8 @@ public static XivMdl GetXivMdl(byte[] mdlData, string mdlPath = "")
970
}
971
else {
972
if (xivMdl.LoDList[0].VertexDataOffset < br.BaseStream.Position
973
- || (xivMdl.LoDList[0].VertexDataOffset % 8 != br.BaseStream.Position % 8))
+ || (xivMdl.LoDList[0].VertexDataOffset % 8 != br.BaseStream.Position % 8)
974
+ && xivMdl.LoDList[1].VertexDataSize == 0)
975
{
976
977
var delta = (int)(xivMdl.LoDList[0].VertexDataOffset - br.BaseStream.Position);
0 commit comments