1
0
mirror of synced 2024-11-12 02:00:50 +01:00

GFBMDL : fix mesh names

This commit is contained in:
KillzXGaming 2019-11-26 21:18:52 -05:00
parent 8d797f42e3
commit cb1d5097b2

View File

@ -83,10 +83,13 @@ namespace FirstPlugin
{
genericMesh.BoneIndex = boneIndex;
transform = Skeleton.bones[boneIndex].Transform;
genericMesh.Text = Skeleton.bones[boneIndex].Text;
}
if (group.MeshID < Skeleton.bones.Count && group.MeshID > 0)
genericMesh.Text = Skeleton.bones[(int)group.MeshID].Text;
// if (group.MeshID < Skeleton.bones.Count && group.MeshID > 0)
// genericMesh.Text = Skeleton.bones[(int)group.MeshID].Text;
Renderer.Meshes.Add(genericMesh);
GenericMeshes.Add(genericMesh);