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

added multiple material sets to addon

This commit is contained in:
Jack Andersen
2015-08-15 12:56:55 -10:00
parent 3c5b5fd39a
commit 0da7ab7e01
4 changed files with 6 additions and 8 deletions

View File

@@ -776,7 +776,7 @@ bool ReadCMDLToBlender(HECL::BlenderConnection& conn,
"obj = bpy.data.objects.new(mesh.name, mesh)\n"
"obj.show_transparent = True\n"
"bpy.context.scene.objects.link(obj)\n"
"mesh.cmdl_material_count = %u\n"
"mesh.hecl_material_count = %u\n"
"for material in materials:\n"
" mesh.materials.append(material)\n"
"\n"