else:
out_file.write("multitexcoord2", u.unit, *v.uvs[i])
uvs[i] = v.uvs[i]
- if v.tan!=tan:
- out_file.write("attrib3", 3, *v.tan)
- tan = v.tan
- if v.bino!=bino:
- out_file.write("attrib3", 4, *v.bino)
- bino = v.bino
+ if self.tbn_vecs:
+ if v.tan!=tan:
+ out_file.write("attrib3", 3, *v.tan)
+ tan = v.tan
+ if v.bino!=bino:
+ out_file.write("attrib3", 4, *v.bino)
+ bino = v.bino
out_file.write("vertex3", *v.co)
out_file.end()
for s in strips: