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)