Apply bone index properly in object editor

This commit is contained in:
KillzXGaming 2019-05-25 12:31:03 -04:00
parent d4c6ddb3da
commit 6cf95bf4bb
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View file

@ -368,6 +368,8 @@ namespace FirstPlugin
{
shp.Name = s.Text;
shp.MaterialIndex = (ushort)s.MaterialIndex;
shp.BoneIndex = (ushort)s.BoneIndex;
if (shp.SubMeshBoundingNodes == null)
shp.SubMeshBoundingNodes = new List<BoundingNode>();
if (shp.SubMeshBoundingIndices == null)