mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-06-03 00:58:13 -04:00
Fixed #734
This commit is contained in:
parent
46c0e8ffe1
commit
c9394cd957
@ -399,7 +399,14 @@ namespace AssetStudioGUI
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2: //source file
|
case 2: //source file
|
||||||
exportPath = Path.Combine(savePath, asset.SourceFile.fullName + "_export");
|
if (string.IsNullOrEmpty(asset.SourceFile.originalPath))
|
||||||
|
{
|
||||||
|
exportPath = Path.Combine(savePath, asset.SourceFile.fileName + "_export");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exportPath = Path.Combine(savePath, Path.GetFileName(asset.SourceFile.originalPath) + "_export", asset.SourceFile.fileName);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
exportPath = savePath;
|
exportPath = savePath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user