mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-15 09:27:08 +00:00
GFBMDL : fix mesh names
This commit is contained in:
parent
8d797f42e3
commit
cb1d5097b2
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue