Skip to content

Commit

Permalink
fix uv add
Browse files Browse the repository at this point in the history
  • Loading branch information
deakcor committed Dec 3, 2021
1 parent 39b48c5 commit 1b0c7d8
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 @@ -253,7 +253,7 @@ static func _create_obj(obj:String,mats:Dictionary)->Mesh:
var f = face["vt"][k]
if f>-1:
var uv = uvs[f]
fan_vt.append(f)
fan_vt.append(uv)

st.add_triangle_fan(fan_v, fan_vt, PoolColorArray(), PoolVector2Array(), fan_vn, [])
mesh = st.commit(mesh)
Expand Down

0 comments on commit 1b0c7d8

Please sign in to comment.