pass meshformat to Exporter

This commit is contained in:
MountainFlash 2021-10-29 13:39:51 +05:30
parent 41a0cf0950
commit d244717ce6
No known key found for this signature in database
GPG Key ID: 6BDA200334E04E1A
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 6ea4b1811a115d21490c550da84edf06b9b63434
Subproject commit 781093c97911966884e389b6899b81cc6b50e1b9

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))
{