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

Windows fixes

This commit is contained in:
Jack Andersen
2017-01-20 14:20:19 -10:00
parent b958182073
commit 04452ad919
6 changed files with 24 additions and 13 deletions

View File

@@ -282,6 +282,7 @@ bool ReadMAPAToBlender(hecl::BlenderConnection& conn,
os << "mesh = bpy.data.meshes.new('MAP')\n"
"mesh.show_edge_seams = True\n"
"obj = bpy.data.objects.new(mesh.name, mesh)\n"
"bm.to_mesh(mesh)\n"
"bpy.context.scene.objects.link(obj)\n"