X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_mesh.py;h=7ce501bced05bb122eccf2ff518b57e791b334a2;hp=f429ff3199b290d9b2a23e969e3ac3497435d2e5;hb=5aee3912dd2818a282e41aa5eb65c77666aa53bc;hpb=ecb3b9fafd1b225d436d23341d346a94df1fa282 diff --git a/blender/io_mspgl/export_mesh.py b/blender/io_mspgl/export_mesh.py index f429ff31..7ce501bc 100644 --- a/blender/io_mspgl/export_mesh.py +++ b/blender/io_mspgl/export_mesh.py @@ -365,7 +365,7 @@ class MeshExporter: out_file.end() if self.export_lines and mesh.lines: - out_file.write("batch", "LINES") + out_file.begin("batch", "LINES") for l in mesh.lines: out_file.write("indices", l.vertices[0].index, l.vertices[1].index) out_file.end()