fix for bmesh api example

worth noticing is that the example in bpy.types.Mesh is wrong too (Mesh type does not have an uv element)
but I would prefer someone more familiar with bmesh to take a look at those
This commit is contained in:
Dalai Felinto 2012-05-22 15:19:19 +00:00
parent d9ce31104f
commit 39f2f99794

@ -99,8 +99,8 @@ Here are some examples ...
uv_lay = bm.loops.layers.uv.active
for face in bm.faces:
for loop in f.loops:
uv = loop[uv_lay]
for loop in face.loops:
uv = loop[uv_lay].uv
print("Loop UV: %f, %f" % (uv.x, uv.y))