1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Fix material mapping for BCH/BCMDL DAE exporting

This commit is contained in:
KillzXGaming 2020-03-21 20:40:52 -04:00
parent 032db2a0d0
commit 3f90854914
2 changed files with 3 additions and 1 deletions

View File

@ -286,7 +286,7 @@ namespace FirstPlugin.CtrLibrary
public ToolStripItem[] GetContextMenuItems()
{
List<ToolStripItem> Items = new List<ToolStripItem>();
Items.Add(new ToolStripMenuItem("Export Model", null, ExportAction, Keys.Control | Keys.E));
// Items.Add(new ToolStripMenuItem("Export Model", null, ExportAction, Keys.Control | Keys.E));
return Items.ToArray();
}

View File

@ -45,6 +45,8 @@ namespace FirstPlugin.CtrLibrary
ImageKey = "mesh";
SelectedImageKey = "mesh";
MaterialIndex = Mesh.MaterialIndex;
foreach (var subMesh in mesh.SubMeshes)
{
STGenericPolygonGroup group = new STGenericPolygonGroup();