mirror of
https://github.com/4sval/FModel.git
synced 2026-04-19 16:17:44 -05:00
Force quest bundles to use 512x512 image, and Tandem images based on display asset settings
This commit is contained in:
parent
f2f6fc01d2
commit
8bceb10f44
|
|
@ -1 +1 @@
|
|||
Subproject commit 6d911668e730b3f4c1eab0b3f7e9a99bc3dde943
|
||||
Subproject commit 7423a772c652d5bd957dd35c67ab5f6c39db63fc
|
||||
|
|
@ -40,7 +40,7 @@ namespace FModel.Creator.Bases.FN
|
|||
Preview = preview;
|
||||
else if (Object.TryGetValue(out FPackageIndex itemDefinition, "HeroDefinition", "WeaponDefinition"))
|
||||
Preview = Utils.GetBitmap(itemDefinition);
|
||||
else if (Object.TryGetValue(out FSoftObjectPath largePreview, "LargePreviewImage", "SidePanelIcon", "EntryListIcon", "SmallPreviewImage", "ItemDisplayAsset", "LargeIcon", "ToastIcon", "SmallIcon"))
|
||||
else if (Object.TryGetValue(out FSoftObjectPath largePreview, "LargePreviewImage", "EntryListIcon", "SmallPreviewImage", "ItemDisplayAsset", "LargeIcon", "ToastIcon", "SmallIcon"))
|
||||
Preview = Utils.GetBitmap(largePreview);
|
||||
else if (Object.TryGetValue(out string s, "LargePreviewImage") && !string.IsNullOrEmpty(s))
|
||||
Preview = Utils.GetBitmap(s);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ namespace FModel.Creator.Bases.FN
|
|||
Description += "\n" + completionText.Text;
|
||||
if (Object.TryGetValue(out FSoftObjectPath tandemCharacterData, "TandemCharacterData") &&
|
||||
Utils.TryLoadObject(tandemCharacterData.AssetPathName.Text, out UObject uObject) &&
|
||||
uObject.TryGetValue(out FSoftObjectPath tandemIcon, "SidePanelIcon", "EntryListIcon", "ToastIcon"))
|
||||
uObject.TryGetValue(out FSoftObjectPath tandemIcon, "EntryListIcon", "ToastIcon"))
|
||||
{
|
||||
Preview = Utils.GetBitmap(tandemIcon);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user