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

Updated hecl

This commit is contained in:
Jack Andersen
2015-10-14 13:07:29 -10:00
parent 804f0c8b7d
commit d95e11ce3e
8 changed files with 30 additions and 33 deletions

View File

@@ -124,19 +124,19 @@ void SpecBase::doCook(const HECL::ProjectPath& path, const HECL::ProjectPath& co
case HECL::BlenderConnection::TypeMesh:
{
HECL::BlenderConnection::DataStream ds = conn.beginData();
cookMesh(path, ds, cookedPath);
cookMesh(cookedPath, path, ds);
break;
}
case HECL::BlenderConnection::TypeActor:
{
HECL::BlenderConnection::DataStream ds = conn.beginData();
cookActor(path, ds, cookedPath);
cookActor(cookedPath, path, ds);
break;
}
case HECL::BlenderConnection::TypeArea:
{
HECL::BlenderConnection::DataStream ds = conn.beginData();
cookArea(path, ds, cookedPath);
cookArea(cookedPath, path, ds);
break;
}
default: break;
@@ -145,7 +145,7 @@ void SpecBase::doCook(const HECL::ProjectPath& path, const HECL::ProjectPath& co
else if (HECL::IsPathYAML(path))
{
FILE* fp = HECL::Fopen(path.getAbsolutePath().c_str(), _S("r"));
cookYAML(fp, cookedPath);
cookYAML(cookedPath, path, fp);
}
}