Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
- [Core] bug fixes #75
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Feb 18, 2024
1 parent e1d7f53 commit cf2e750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AssetStudio.GUI/AssetBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ private void ProcessAssetData(Object asset, List<AssetItem> exportableAssets, As
break;
case Mesh _ when ClassIDType.Mesh.CanExport():
case TextAsset _ when ClassIDType.TextAsset.CanExport():
case AnimationClip _ when ClassIDType.Font.CanExport():
case Font _ when ClassIDType.GameObject.CanExport():
case AnimationClip _ when ClassIDType.AnimationClip.CanExport():
case Font _ when ClassIDType.Font.CanExport():
case MovieTexture _ when ClassIDType.MovieTexture.CanExport():
case Sprite _ when ClassIDType.Sprite.CanExport():
case Material _ when ClassIDType.Material.CanExport():
Expand Down
2 changes: 1 addition & 1 deletion AssetStudio.GUI/Studio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public static Task ExportAssets(string savePath, List<AssetItem> toExportAssets,
case AssetGroupOption.ByContainer: //container path
if (!string.IsNullOrEmpty(asset.Container))
{
exportPath = Path.Combine(savePath, Path.GetDirectoryName(asset.Container));
exportPath = Path.HasExtension(asset.Container) ? Path.Combine(savePath, Path.GetDirectoryName(asset.Container)) : Path.Combine(savePath, asset.Container);
}
else
{
Expand Down

0 comments on commit cf2e750

Please sign in to comment.