diff --git a/CUE4Parse b/CUE4Parse index abed739a..e69ae897 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit abed739a7deb8ebf3cbb057afca707452edc0e59 +Subproject commit e69ae897396941b4daca9d26fb7ac5524c667dd2 diff --git a/FModel/FModel.csproj b/FModel/FModel.csproj index 979b0361..0bd103ca 100644 --- a/FModel/FModel.csproj +++ b/FModel/FModel.csproj @@ -103,24 +103,6 @@ - - - - - - - - - - - - - - - - - - @@ -129,29 +111,11 @@ - - - - - - - - - - - - - - - - - - diff --git a/FModel/Framework/FModelBridgeHost.cs b/FModel/Framework/FModelBridgeHost.cs new file mode 100644 index 00000000..85755549 --- /dev/null +++ b/FModel/Framework/FModelBridgeHost.cs @@ -0,0 +1,16 @@ +using CUE4Parse_Conversion.Options; +using FModel.Settings; +using Snooper.Hosting; + +namespace FModel.Framework; + +public sealed class FModelBridgeHost : IBridgeHost +{ + public string Name => "FModel"; + public string ExportDirectory => UserSettings.Default.ModelDirectory; + + public bool OwnsLoadOptions => true; + public bool CanBrowseAssets => true; + + public ExportOptions CreateExportOptions() => UserSettings.GetExportOptions(); +} diff --git a/FModel/MainWindow.xaml b/FModel/MainWindow.xaml index 6c63f0d7..e70d5552 100644 --- a/FModel/MainWindow.xaml +++ b/FModel/MainWindow.xaml @@ -807,6 +807,19 @@ HorizontalAlignment="Right" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"> + + + + + + +