Skip to content

Commit b75e398

Browse files
committed
Further insurance that shape data is not loaded at all for old mod items.
1 parent b60a89c commit b75e398

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

xivModdingFramework/Models/FileTypes/Mdl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ public async Task<XivMdl> GetRawMdlData(string mdlPath, bool getOriginal = false
991991
xivMdl.MeshShapeData.AssignMeshAndLodNumbers(indexOffsets);
992992

993993
// Sets the boolean flag if the model has shape data
994-
xivMdl.HasShapeData = xivMdl.ModelData.ShapeCount > 0;
994+
xivMdl.HasShapeData = xivMdl.ModelData.ShapeCount > 0 && getShapeData;
995995

996996
// Bone index for Parts
997997
var partBoneSet = new BoneSet

0 commit comments

Comments
 (0)