Adjust mesh naming

This commit is contained in:
KillzXGaming 2022-10-26 19:39:32 -04:00
parent 2cc2269bab
commit 47ad72444c

View file

@ -251,7 +251,7 @@ namespace DKCTF
var mat = materials[mesh.Header.MaterialIndex]; var mat = materials[mesh.Header.MaterialIndex];
GenericRenderedObject genericMesh = new GenericRenderedObject(); GenericRenderedObject genericMesh = new GenericRenderedObject();
genericMesh.Text = "Mesh_" + mat.Name; genericMesh.Text = "Mesh_" + mat.Text;
meshes.Add(genericMesh); meshes.Add(genericMesh);
foreach (var vert in mesh.Vertices) foreach (var vert in mesh.Vertices)