Skip to content

Commit

Permalink
Fix texture problem with ST / STQ coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnberger committed Jul 17, 2015
1 parent d50bcd0 commit 6ac6b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sketchup.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ cdef class Face:
for i in range(got_vertex_count):
vertices_list.append((m(vertices[i].x), m(vertices[i].y), m(vertices[i].z)))
for i in range(got_stq_count):
uv_list.append((stq[i].x, stq[i].y))
uv_list.append((stq[i].x / stq[i].z, stq[i].y / stq[i].z))
triangles_list = []
for ii in range(index_count / 3):
i = ii * 3
Expand Down

0 comments on commit 6ac6b8e

Please sign in to comment.