- [Core] bug fixes #75
This commit is contained in:
@@ -220,8 +220,8 @@ namespace AssetStudio.GUI
|
|||||||
break;
|
break;
|
||||||
case Mesh _ when ClassIDType.Mesh.CanExport():
|
case Mesh _ when ClassIDType.Mesh.CanExport():
|
||||||
case TextAsset _ when ClassIDType.TextAsset.CanExport():
|
case TextAsset _ when ClassIDType.TextAsset.CanExport():
|
||||||
case AnimationClip _ when ClassIDType.Font.CanExport():
|
case AnimationClip _ when ClassIDType.AnimationClip.CanExport():
|
||||||
case Font _ when ClassIDType.GameObject.CanExport():
|
case Font _ when ClassIDType.Font.CanExport():
|
||||||
case MovieTexture _ when ClassIDType.MovieTexture.CanExport():
|
case MovieTexture _ when ClassIDType.MovieTexture.CanExport():
|
||||||
case Sprite _ when ClassIDType.Sprite.CanExport():
|
case Sprite _ when ClassIDType.Sprite.CanExport():
|
||||||
case Material _ when ClassIDType.Material.CanExport():
|
case Material _ when ClassIDType.Material.CanExport():
|
||||||
|
|||||||
@@ -548,7 +548,7 @@ namespace AssetStudio.GUI
|
|||||||
case AssetGroupOption.ByContainer: //container path
|
case AssetGroupOption.ByContainer: //container path
|
||||||
if (!string.IsNullOrEmpty(asset.Container))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user