From 41adc2412aee9b4753bfa2d4a64b0d0c3b997204 Mon Sep 17 00:00:00 2001 From: 4sval Date: Wed, 28 Dec 2022 16:18:55 +0100 Subject: [PATCH] FModel v4.4.1 --- .github/workflows/autoclose.yml | 16 ---------------- FModel/FModel.csproj | 6 +++--- FModel/ViewModels/SettingsViewModel.cs | 6 +++--- FModel/Views/Snooper/SnimGui.cs | 2 +- 4 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/autoclose.yml diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml deleted file mode 100644 index 6c9c7413..00000000 --- a/.github/workflows/autoclose.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Issue Auto Closing - -on: - issues: - types: - - opened - -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Close Condition - if: contains(toJson(github.event.issue.body), '### Game\r\n\r\nFortnite') - uses: peter-evans/close-issue@v2 - with: - comment: Fortnite related issues are not allowed here. Join the [discord server](https://fmodel.app/discord) and read the common errors channel instead. diff --git a/FModel/FModel.csproj b/FModel/FModel.csproj index e709c549..5f164bbd 100644 --- a/FModel/FModel.csproj +++ b/FModel/FModel.csproj @@ -5,9 +5,9 @@ net6.0-windows true FModel.ico - 4.4.0 - 4.4.0.0 - 4.4.0.0 + 4.4.1 + 4.4.1.0 + 4.4.1.0 false true win-x64 diff --git a/FModel/ViewModels/SettingsViewModel.cs b/FModel/ViewModels/SettingsViewModel.cs index 52c5a3a2..c1dfbc6c 100644 --- a/FModel/ViewModels/SettingsViewModel.cs +++ b/FModel/ViewModels/SettingsViewModel.cs @@ -237,10 +237,10 @@ public class SettingsViewModel : ViewModel { AesEndpoint = endpoints[0]; MappingEndpoint = endpoints[1]; - MappingEndpoint.PropertyChanged += (sender, args) => + MappingEndpoint.PropertyChanged += (_, args) => { - if (sender is FEndpoint endpoint && !_mappingsUpdate) - _mappingsUpdate = args.PropertyName is "Overwrite" or "FilePath" && endpoint.IsValid; + if (!_mappingsUpdate) + _mappingsUpdate = args.PropertyName is "Overwrite" or "FilePath"; }; } diff --git a/FModel/Views/Snooper/SnimGui.cs b/FModel/Views/Snooper/SnimGui.cs index 93810b43..bffa926f 100644 --- a/FModel/Views/Snooper/SnimGui.cs +++ b/FModel/Views/Snooper/SnimGui.cs @@ -636,7 +636,7 @@ Snooper aims to give an accurate preview of models, materials, skeletal animatio } Popup(() => { - if (ImGui.MenuItem("Overlay UVs", null, _ti_overlayUv)) + if (ImGui.MenuItem("Overlay UVs", null, _ti_overlayUv, false)) _ti_overlayUv = !_ti_overlayUv; }); }