mirror of
https://github.com/4sval/FModel.git
synced 2026-06-21 15:30:05 -05:00
Fix shop MIs trying to be loaded in Material viewer
This commit is contained in:
parent
4aed95019c
commit
22d1a32651
|
|
@ -689,7 +689,10 @@ namespace FModel.ViewModels
|
|||
SaveExport(export);
|
||||
return true;
|
||||
}
|
||||
case UMaterialInstance when UserSettings.Default.IsAutoOpenMeshes:
|
||||
case UMaterialInstance when UserSettings.Default.IsAutoOpenMeshes &&
|
||||
!(Game == FGame.FortniteGame && export.Owner != null && (export.Owner.Name.EndsWith($"/MI_OfferImages/{export.Name}", StringComparison.OrdinalIgnoreCase) ||
|
||||
export.Owner.Name.EndsWith($"/RenderSwitch_Materials/{export.Name}", StringComparison.OrdinalIgnoreCase) ||
|
||||
export.Owner.Name.EndsWith($"/MI_BPTile/{export.Name}", StringComparison.OrdinalIgnoreCase))):
|
||||
{
|
||||
Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user