GFBMDL : fix mesh names
This commit is contained in:
parent
8d797f42e3
commit
cb1d5097b2
@ -83,10 +83,13 @@ namespace FirstPlugin
|
|||||||
{
|
{
|
||||||
genericMesh.BoneIndex = boneIndex;
|
genericMesh.BoneIndex = boneIndex;
|
||||||
transform = Skeleton.bones[boneIndex].Transform;
|
transform = Skeleton.bones[boneIndex].Transform;
|
||||||
|
|
||||||
|
genericMesh.Text = Skeleton.bones[boneIndex].Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (group.MeshID < Skeleton.bones.Count && group.MeshID > 0)
|
// if (group.MeshID < Skeleton.bones.Count && group.MeshID > 0)
|
||||||
genericMesh.Text = Skeleton.bones[(int)group.MeshID].Text;
|
// genericMesh.Text = Skeleton.bones[(int)group.MeshID].Text;
|
||||||
|
|
||||||
Renderer.Meshes.Add(genericMesh);
|
Renderer.Meshes.Add(genericMesh);
|
||||||
GenericMeshes.Add(genericMesh);
|
GenericMeshes.Add(genericMesh);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user