Skip to content

Commit

Permalink
Update v3.0.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunaretic committed Jul 25, 2024
2 parents dbe64b6 + 6366390 commit 55beb65
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</Grid>
</GroupBox>

<GroupBox Grid.Row="2" Header="Penumbra Manipulations">
<GroupBox Grid.Row="2" Header="Metadata Manipulations">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
Expand Down
10 changes: 8 additions & 2 deletions FFXIV_TexTools/Views/Models/FullModelView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,15 @@ private async void ExportModelButton_Click(object sender, System.Windows.RoutedE
// Show the export dialog
var fullModelExportDialog = new FullModelExportDialogView(_fmvm.SelectedSkeleton.Name) {Owner = this};

if (fullModelExportDialog.ShowDialog() == true)
try
{
if (fullModelExportDialog.ShowDialog() == true)
{
await Export(fullModelExportDialog.ModelName);
}
} catch(Exception ex)
{
await Export(fullModelExportDialog.ModelName);
this.ShowError("Model Export Error", "An error occurred while exporting the model:\n\n" + ex.Message);
}
}

Expand Down

0 comments on commit 55beb65

Please sign in to comment.