pass meshformat to Exporter

This commit is contained in:
MountainFlash
2021-10-29 13:39:51 +05:30
parent 41a0cf0950
commit d244717ce6
2 changed files with 2 additions and 2 deletions

View File

@@ -722,7 +722,7 @@ namespace FModel.ViewModels
private void SaveExport(UObject export)
{
var toSave = new Exporter(export, UserSettings.Default.TextureExportFormat, UserSettings.Default.LodExportFormat);
var toSave = new Exporter(export, UserSettings.Default.TextureExportFormat, UserSettings.Default.LodExportFormat, UserSettings.Default.MeshExportFormat);
var toSaveDirectory = new DirectoryInfo(Path.Combine(UserSettings.Default.OutputDirectory, "Saves"));
if (toSave.TryWriteToDir(toSaveDirectory, out var savedFileName))
{