Resolve error because I didn't set a default UE version

This commit is contained in:
GMatrixGames 2021-06-04 22:13:10 -04:00
parent e9f308d028
commit a58b212bec
No known key found for this signature in database
GPG Key ID: 2621164AAF16CEDF
2 changed files with 8 additions and 3 deletions

View File

@ -210,7 +210,8 @@ namespace FModel.Settings
{FGame.Indiana, EGame.GAME_UE4_LATEST},
{FGame.RogueCompany, EGame.GAME_UE4_LATEST},
{FGame.SwGame, EGame.GAME_UE4_LATEST},
{FGame.Platform, EGame.GAME_UE4_24}
{FGame.Platform, EGame.GAME_UE4_24},
{FGame.BendGame, EGame.GAME_UE4_11}
};
public IDictionary<FGame, EGame> OverridedGame
{
@ -233,7 +234,8 @@ namespace FModel.Settings
{FGame.Indiana, UE4Version.VER_UE4_DETERMINE_BY_GAME},
{FGame.RogueCompany, UE4Version.VER_UE4_DETERMINE_BY_GAME},
{FGame.SwGame, UE4Version.VER_UE4_DETERMINE_BY_GAME},
{FGame.Platform, UE4Version.VER_UE4_DETERMINE_BY_GAME}
{FGame.Platform, UE4Version.VER_UE4_DETERMINE_BY_GAME},
{FGame.BendGame, UE4Version.VER_UE4_DETERMINE_BY_GAME}
};
public IDictionary<FGame, UE4Version> OverridedUEVersion
{
@ -292,7 +294,8 @@ namespace FModel.Settings
{FGame.Indiana, new List<CustomDirectory>()},
{FGame.RogueCompany, new List<CustomDirectory>()},
{FGame.SwGame, new List<CustomDirectory>()},
{FGame.Platform, new List<CustomDirectory>()}
{FGame.Platform, new List<CustomDirectory>()},
{FGame.BendGame, new List<CustomDirectory>()}
};
public IDictionary<FGame, IList<CustomDirectory>> CustomDirectories
{

View File

@ -483,6 +483,7 @@ namespace FModel.ViewModels
}
case "png":
case "jpg":
case "bmp":
{
if (Provider.TrySaveAsset(fullPath, out var data))
{
@ -497,6 +498,7 @@ namespace FModel.ViewModels
FLogger.AppendText($"Export '{fullPath.SubstringAfterLast('/')}' and change its extension if you want it to be an installable font file", Constants.WHITE, true);
break;
case "ushaderbytecode":
case "ushadercode":
TabControl.SelectedTab.Image = null;
break;
default: