]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_mesh.py
Fix line exporting
[libs/gl.git] / blender / io_mspgl / export_mesh.py
index f429ff3199b290d9b2a23e969e3ac3497435d2e5..7ce501bced05bb122eccf2ff518b57e791b334a2 100644 (file)
@@ -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()