Skip to content

Commit 244462c

Browse files
committed
FModel v4.4.3.6
1 parent 11bad86 commit 244462c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

FModel/Extensions/StringExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public static string GetParentExportType(this TextDocument doc, int startOffset)
126126
return content.Split("\"")[3];
127127

128128
lineNumber--;
129+
if (lineNumber < 1) break;
129130
line = doc.GetLineByNumber(lineNumber);
130131
}
131132

FModel/FModel.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<TargetFramework>net8.0-windows</TargetFramework>
66
<UseWPF>true</UseWPF>
77
<ApplicationIcon>FModel.ico</ApplicationIcon>
8-
<Version>4.4.3.5</Version>
9-
<AssemblyVersion>4.4.3.5</AssemblyVersion>
10-
<FileVersion>4.4.3.5</FileVersion>
8+
<Version>4.4.3.6</Version>
9+
<AssemblyVersion>4.4.3.6</AssemblyVersion>
10+
<FileVersion>4.4.3.6</FileVersion>
1111
<IsPackable>false</IsPackable>
1212
<IsPublishable>true</IsPublishable>
1313
<RuntimeIdentifier>win-x64</RuntimeIdentifier>

FModel/ViewModels/ApiEndpoints/FModelApiEndpoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private void CheckForUpdateEvent(UpdateInfoEventArgs args)
176176
{
177177
if (AutoUpdater.DownloadUpdate(args))
178178
{
179-
UserSettings.Default.ShowChangelog = !qa.Value;
179+
UserSettings.Default.ShowChangelog = currentVersion != args.InstalledVersion;
180180
UserSettings.Default.CommitHash = qa.CommitHash;
181181
Application.Current.Shutdown();
182182
}

FModel/Views/Snooper/Shading/TextureHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public static void FixChannels(string game, Texture texture)
1616
// R: Whatever (AO / S / E / ...)
1717
// G: Roughness
1818
// B: Metallic
19+
case "GAMEFACE":
1920
case "HK_PROJECT":
2021
case "COSMICSHAKE":
2122
case "PHOENIX":

0 commit comments

Comments
 (0)