MainForm - Add texture when exporting default models

This commit is contained in:
miku-666
2025-01-02 17:17:30 +01:00
parent ae2015e269
commit a8343b381a

View File

@@ -493,7 +493,7 @@ namespace PckStudio
if (openFileDialog.ShowDialog(this) == DialogResult.OK)
{
var modelInfo = new GameModelInfo(model, Enumerable.Empty<NamedTexture>());
var modelInfo = new GameModelInfo(model, new NamedTexture[1] { modelTexture });
GameModelImporter.Default.Export(openFileDialog.FileName, modelInfo);
}
}