2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 21:07:42 +00:00

Various extract tweaks; ResourceLock integration

This commit is contained in:
Jack Andersen
2016-08-11 16:33:38 -10:00
parent 02a4d5501f
commit 42d39bf6b9
7 changed files with 22 additions and 8 deletions

View File

@@ -223,7 +223,7 @@ bool MREA::Extract(const SpecBase& dataSpec,
"\n"
"bpy.context.scene.name = '%s'\n",
pakRouter.getBestEntryName(entry).c_str());
DNACMDL::InitGeomBlenderContext(os, dataSpec.getMasterShaderPath());
DNACMDL::InitGeomBlenderContext(os, dataSpec.getMasterShaderPath(), true);
MaterialSet::RegisterMaterialProps(os);
os << "# Clear Scene\n"
"for ob in bpy.data.objects:\n"