This commit is contained in:
Jack Andersen 2016-02-25 22:03:43 -10:00
commit b065f5846a
1 changed files with 7 additions and 0 deletions

View File

@ -167,9 +167,16 @@ void Material::SectionPASS::constructNode(HECL::BlenderConnection::PyOutStream&
switch (Subtype(subtype.toUint32()))
{
case Subtype::DIFF:
{
out << "pnode.node_tree = bpy.data.node_groups['RetroPassDIFF']\n";
if (txtrId)
{
out << "new_material.hecl_lightmap = texture.name\n"
<< "texture.image.use_fake_user = True\n";
}
linkRAS = true;
break;
}
case Subtype::RIML:
out << "pnode.node_tree = bpy.data.node_groups['RetroPassRIML']\n";
if (idx == 0)