Allow for empty texture paths
This commit is contained in:
parent
0399de79ac
commit
d74988583f
Binary file not shown.
@ -149,7 +149,7 @@ namespace FirstPlugin
|
||||
|
||||
for (int i = 0; i < BMDFile.Shapes.Shapes.Count; i++)
|
||||
{
|
||||
var curShape = BMDFile.Shapes.Shapes[BMDFile.Shapes.RemapTable[i]];
|
||||
var curShape = BMDFile.Shapes.Shapes[i];
|
||||
|
||||
var mat = new BMDMaterialWrapper(BMDFile.Materials.GetMaterial(i), BMDFile);
|
||||
MaterialFolder.Nodes.Add(mat);
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user