mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 01:37:55 +00:00
Adjust blank names
This commit is contained in:
parent
ba6790abf5
commit
59adf0f60e
3 changed files with 4 additions and 3 deletions
Binary file not shown.
|
@ -68,16 +68,17 @@ namespace FirstPlugin
|
|||
var matWrapper = new MTOBWrapper() { BcresParent = bcres };
|
||||
matWrapper.Load(material);
|
||||
if (matWrapper.Text == string.Empty)
|
||||
matWrapper.Text = $"Material {Index}";
|
||||
matWrapper.Text = $"Material {Index++}";
|
||||
MaterialFolder.Nodes.Add(matWrapper);
|
||||
}
|
||||
|
||||
Index = 0;
|
||||
foreach (var mesh in model.Meshes)
|
||||
{
|
||||
var meshWrapper = new SOBJWrapper(this, mesh) { BcresParent = bcres };
|
||||
MeshFolder.Nodes.Add(meshWrapper);
|
||||
if (MeshFolder.Text == string.Empty)
|
||||
MeshFolder.Text = $"Mesh {Index}";
|
||||
if (meshWrapper.Text == string.Empty)
|
||||
meshWrapper.Text = $"Mesh {Index++}";
|
||||
Shapes.Add(meshWrapper);
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue