forked from bartvdbraak/blender
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:
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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user