Fix material names
This commit is contained in:
parent
3d8b8f7263
commit
8c0c625ab5
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user