mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:47:43 +00:00
proper recursive resource extraction
This commit is contained in:
@@ -26,7 +26,7 @@ bool ReadANCSToBlender(HECL::BlenderConnection& conn,
|
||||
const HECL::ProjectPath& outPath,
|
||||
PAKRouter& pakRouter,
|
||||
const typename PAKRouter::EntryType& entry,
|
||||
const HECL::ProjectPath& masterShader,
|
||||
const SpecBase& dataspec,
|
||||
bool force=false)
|
||||
{
|
||||
/* Extract character CMDL/CSKR first */
|
||||
@@ -53,7 +53,7 @@ bool ReadANCSToBlender(HECL::BlenderConnection& conn,
|
||||
|
||||
PAKEntryReadStream rs = cmdlE->beginReadStream(*node);
|
||||
DNACMDL::ReadCMDLToBlender<PAKRouter, MaterialSet, RIGPair, CMDLVersion>
|
||||
(conn, rs, pakRouter, *cmdlE, masterShader, &rigPair);
|
||||
(conn, rs, pakRouter, *cmdlE, dataspec, &rigPair);
|
||||
|
||||
conn.saveBlend();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user