Another fix for duped mesh names
This commit is contained in:
parent
e160f4cdc1
commit
db39432a88
Binary file not shown.
@ -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}";
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user