Fix material names

This commit is contained in:
KillzXGaming 2019-07-11 21:02:30 -04:00
parent 3d8b8f7263
commit 8c0c625ab5
8 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -123,6 +123,7 @@ namespace FirstPlugin
for (int i = 0; i < BMDFile.Shapes.Shapes.Count; i++)
{
var mat = new BMDMaterialWrapper(BMDFile.Materials.GetMaterial(i), BMDFile);
mat.Text = BMDFile.Materials.GetMaterialName(i);
MaterialFolder.Nodes.Add(mat);
var shpWrapper = new BMDShapeWrapper(BMDFile.Shapes.Shapes[i], BMDFile, mat);

Binary file not shown.

Binary file not shown.