2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Add OIDS resource for translating against original IDs

This commit is contained in:
Jack Andersen
2017-01-30 19:01:40 -10:00
parent 1c7c9caef9
commit 0ed44f1cdc
7 changed files with 182 additions and 27 deletions

View File

@@ -375,6 +375,12 @@ void ProjectResourceFactoryBase::BackgroundIndexProc()
}
}
/* Add special original IDs resource if exists (not name-cached to disk) */
hecl::ProjectPath oidsPath(specRoot, "!original_ids.yaml");
SObjectTag oidsTag = BuildTagFromPath(oidsPath, m_backgroundBlender);
if (oidsTag)
m_catalogNameToTag["mp1originalids"] = oidsTag;
Log.report(logvisor::Info, _S("Background index of '%s' started"), m_origSpec->m_name);
BackgroundIndexRecursiveProc(specRoot, cacheWriter, nameWriter, 0);