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; 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,6 +324,9 @@ struct SpecMP1 : SpecBase
{ {
progress(hecl::SysFormat(_S("%d"), surfCount).c_str()); progress(hecl::SysFormat(_S("%d"), surfCount).c_str());
}); });
if (m_pc)
DNAMP1::CMDL::HMDLCook(out, in, mesh);
else
DNAMP1::CMDL::Cook(out, in, mesh); DNAMP1::CMDL::Cook(out, in, mesh);
} }