Skip to content

Commit

Permalink
fix uv order
Browse files Browse the repository at this point in the history
  • Loading branch information
deakcor committed Dec 3, 2021
1 parent 1b0c7d8 commit 8adb97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obj-parse/ObjParse.gd
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static func _create_obj(obj:String,mats:Dictionary)->Mesh:
# Textures
var fan_vt = PoolVector2Array()
if face["vt"].size()>0:
for k in [0,1,2]:
for k in [0,2,1]:
var f = face["vt"][k]
if f>-1:
var uv = uvs[f]
Expand Down

0 comments on commit 8adb97a

Please sign in to comment.