mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue