From 6e0a6f7a7a406bd22eb4e3f7fc4bf2bdce01d7f9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 26 May 2019 21:17:42 +0300 Subject: [PATCH] Mark datafile tokens as such --- blender/io_mspgl/export_mesh.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blender/io_mspgl/export_mesh.py b/blender/io_mspgl/export_mesh.py index 7b8fd771..e620b86f 100644 --- a/blender/io_mspgl/export_mesh.py +++ b/blender/io_mspgl/export_mesh.py @@ -113,19 +113,19 @@ class MeshExporter: st.sub.append(Statement("indices", *(v.index for v in s[i:i+32]))) statements.append(st) else: - st = Statement("batch", "TRIANGLES") + st = Statement("batch", Token('TRIANGLES')) for f in mesh.faces: st.sub.append(Statement("indices", *(v.index for v in f.vertices))) statements.append(st) if mesh.lines: - st = Statement("batch", "LINES") + st = Statement("batch", Token('LINES')) for l in mesh.lines: st.sub.append(Statement("indices", *(v.index for v in l.vertices))) statements.append(st) if mesh.winding_test: - statements.append(Statement("winding", "COUNTERCLOCKWISE")) + statements.append(Statement("winding", Token('COUNTERCLOCKWISE'))) progress.set_progress(1.0) -- 2.45.2