diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-05-22 19:19:19 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-05-22 19:19:19 +0400 |
commit | 39f2f997943430249a3cb753cb7c2bebfa1ed0f7 (patch) | |
tree | 9981357e3aaad3264fa18d54992535e6555acad3 /doc/python_api/rst/include__bmesh.rst | |
parent | d9ce31104f974509a4626c77b3f35342576f05ca (diff) |
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
Diffstat (limited to 'doc/python_api/rst/include__bmesh.rst')
-rw-r--r-- | doc/python_api/rst/include__bmesh.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index 212ab4e4708..f3d3b0257be 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -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)) |