Merge pull request #499 from qiankanglai/master

corner case as protection
This commit is contained in:
Perfare 2020-03-24 07:09:18 +08:00 committed by GitHub
commit 6230240ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -674,6 +674,8 @@ namespace AssetStudioGUI
private void PreviewAsset(AssetItem assetItem)
{
if (assetItem == null)
return;
try
{
switch (assetItem.Asset)