2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 13:47:43 +00:00

Character cooking fixes

This commit is contained in:
Jack Andersen
2016-08-21 14:11:18 -10:00
parent 5eab081c60
commit bf049843e1
11 changed files with 57 additions and 26 deletions

View File

@@ -354,7 +354,7 @@ struct SpecMP1 : SpecBase
BlendStream& ds, bool fast, hecl::BlenderToken& btok,
FCookProgress progress)
{
Mesh mesh = ds.compileMesh(fast ? hecl::HMDLTopology::Triangles : hecl::HMDLTopology::TriStrips, -1,
Mesh mesh = ds.compileMesh(fast ? hecl::HMDLTopology::Triangles : hecl::HMDLTopology::TriStrips, m_pc ? 16 : -1,
[&progress](int surfCount)
{
progress(hecl::SysFormat(_S("%d"), surfCount).c_str());
@@ -371,7 +371,7 @@ struct SpecMP1 : SpecBase
FCookProgress progress)
{
Actor actor = ds.compileActor();
DNAMP1::ANCS::Cook(out, in, actor,
DNAMP1::ANCS::Cook(out, in, actor, ds,
[&](const hecl::ProjectPath& modelPath) -> bool
{
hecl::ProjectPath cooked;