Skip to content

Commit 191fa69

Browse files
authored
Update Mdl.cs
1 parent d4a9e67 commit 191fa69

File tree

1 file changed

+2
-2
lines changed
  • xivModdingFramework/Models/FileTypes

1 file changed

+2
-2
lines changed

xivModdingFramework/Models/FileTypes/Mdl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public static XivMdl GetXivMdl(byte[] mdlData, string mdlPath = "")
413413
for (var i = 0; i < mdlModelData.MaterialCount; i++)
414414
{
415415
var mat = IOUtil.ReadNullTerminatedString(br1, false);
416-
if (mat.StartsWith("shp_"))
416+
if (mat.StartsWith("shp"))
417417
{
418418
// Catch case for situation where there's null values at the end of the materials list.
419419
mdlPathData.ShapeList.Add(mat);
@@ -3133,7 +3133,7 @@ public static byte[] MakeUncompressedMdlFile(TTModel ttModel, XivMdl ogMdl, Acti
31333133
{
31343134
foreach (var shapePart in part.ShapeParts)
31353135
{
3136-
if (shapePart.Key.StartsWith("shp_"))
3136+
if (shapePart.Key.StartsWith("shp"))
31373137
{
31383138
vertexCount += shapePart.Value.Vertices.Count;
31393139
}

0 commit comments

Comments
 (0)