1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Another fix for duped mesh names

This commit is contained in:
KillzXGaming 2019-05-06 17:35:41 -04:00
parent e160f4cdc1
commit db39432a88
3 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -899,7 +899,7 @@ namespace Bfres.Structs
FSHP shape = new FSHP();
List<string> keyList = shapes.Select(o => o.Text).ToList();
shape.Text = Utils.RenameDuplicateString(keyList, obj.Text);
shape.Text = Utils.RenameDuplicateString(keyList, obj.ObjectName);
Nodes["FshpFolder"].Nodes.Add(shape);
shapes.Add(shape);
@ -921,7 +921,6 @@ namespace Bfres.Structs
if (shape.MaterialIndex >= materials.Count)
shape.MaterialIndex = 0;
shape.Text = obj.ObjectName;
shape.lodMeshes = obj.lodMeshes;
progressBar.Task = $"Creating Bounding Boxes. Mesh: {obj.ObjectName}";