Fix material mapping for BCH/BCMDL DAE exporting
This commit is contained in:
parent
032db2a0d0
commit
3f90854914
@ -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();
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,8 @@ namespace FirstPlugin.CtrLibrary
|
||||
ImageKey = "mesh";
|
||||
SelectedImageKey = "mesh";
|
||||
|
||||
MaterialIndex = Mesh.MaterialIndex;
|
||||
|
||||
foreach (var subMesh in mesh.SubMeshes)
|
||||
{
|
||||
STGenericPolygonGroup group = new STGenericPolygonGroup();
|
||||
|
Loading…
Reference in New Issue
Block a user