mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-27 11:05:37 +00:00
MainForm - Add texture when exporting default models
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user