mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 02:15:32 +00:00
Split asset name map into separate 32-bit and 64-bit files (necessary to avoid name conflict errors)
This commit is contained in:
@@ -66,7 +66,7 @@ void CExportGameDialog::InitUI(QString ExportDir)
|
||||
|
||||
ExportDir.replace('/', '\\');
|
||||
|
||||
TWideString DefaultNameMapPath = CAssetNameMap::DefaultNameMapPath();
|
||||
TWideString DefaultNameMapPath = CAssetNameMap::DefaultNameMapPath(mGame);
|
||||
if (!FileUtil::Exists(DefaultNameMapPath)) DefaultNameMapPath = L"";
|
||||
|
||||
TWideString DefaultGameInfoPath = CGameInfo::GetDefaultGameInfoPath(mGame);
|
||||
@@ -339,7 +339,7 @@ void CExportGameDialog::Export()
|
||||
return;
|
||||
}
|
||||
|
||||
CAssetNameMap NameMap;
|
||||
CAssetNameMap NameMap(mGame);
|
||||
|
||||
if (!NameMapPath.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user