Skip to content

Commit

Permalink
Vertex coordinate fix for obj loader (#159)
Browse files Browse the repository at this point in the history
Signed-off-by: tovacinni <tovacinni@gmail.com>
  • Loading branch information
tovacinni committed Apr 2, 2020
1 parent 6cff805 commit c8537a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaolin/rep/Mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def from_obj(self, filename: str, with_vt: bool = False,
if data[0] == 'v':
vertices.append(data[1:])
elif data[0] == 'vt':
uvs.append(data[1:])
uvs.append(data[1:3])
elif data[0] == 'f':
if '//' in data[1]:
data = [da.split('//') for da in data]
Expand Down

0 comments on commit c8537a7

Please sign in to comment.