Skip to content

Commit cf11d6d

Browse files
authored
Mirrored v texture coordinate
(Seems to fix texture coordinate exports)
1 parent 6a68c6e commit cf11d6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Exporter/Blender/gpmesh_export.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def write_gpmesh(context, filepath, vertFormat):
4343
f.write(",\n\t\t[")
4444
f.write("%f,%f,%f," % (v["pos"].x, v["pos"].y, v["pos"].z))
4545
f.write("%f,%f,%f," % (v["norm"].x, v["norm"].y, v["norm"].z))
46-
f.write("%f,%f" % (v["uv"].x, v["uv"].y))
46+
f.write("%f,%f" % (v["uv"].x, -1.0 * v["uv"].y))
4747
f.write("]")
4848
f.write("\n\t],\n")
4949

0 commit comments

Comments
 (0)