Enable HDML cooking

This commit is contained in:
Phillip Stephens 2016-03-31 11:21:23 -07:00
parent 7b865683e7
commit 0f6e0d6621
2 changed files with 7 additions and 1 deletions

View File

@ -1628,5 +1628,8 @@ bool WriteHMDLCMDL(const hecl::ProjectPath& outPath, const hecl::ProjectPath& in
return true;
}
template bool WriteHMDLCMDL<DNAMP1::HMDLMaterialSet, DNACMDL::SurfaceHeader_1, 2>
(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPath, const Mesh& mesh);
}
}

View File

@ -324,7 +324,10 @@ struct SpecMP1 : SpecBase
{
progress(hecl::SysFormat(_S("%d"), surfCount).c_str());
});
DNAMP1::CMDL::Cook(out, in, mesh);
if (m_pc)
DNAMP1::CMDL::HMDLCook(out, in, mesh);
else
DNAMP1::CMDL::Cook(out, in, mesh);
}
void cookActor(const hecl::ProjectPath& out, const hecl::ProjectPath& in,