1
0
mirror of synced 2024-11-30 18:24:39 +01:00

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++) for (int i = 0; i < BMDFile.Shapes.Shapes.Count; i++)
{ {
var mat = new BMDMaterialWrapper(BMDFile.Materials.GetMaterial(i), BMDFile); var mat = new BMDMaterialWrapper(BMDFile.Materials.GetMaterial(i), BMDFile);
mat.Text = BMDFile.Materials.GetMaterialName(i);
MaterialFolder.Nodes.Add(mat); MaterialFolder.Nodes.Add(mat);
var shpWrapper = new BMDShapeWrapper(BMDFile.Shapes.Shapes[i], BMDFile, mat); var shpWrapper = new BMDShapeWrapper(BMDFile.Shapes.Shapes[i], BMDFile, mat);

Binary file not shown.

Binary file not shown.