diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-05-22 22:14:34 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-05-22 22:14:34 +0400 |
commit | 800e79c0888215c545a2ce01badea2402a1670ca (patch) | |
tree | 68211ab433949a94425a2a7f5132ba3b4993ac47 /doc/python_api/rst/include__bmesh.rst | |
parent | 89b1a2bbcf422da0e982280a9819904bc15d6e6f (diff) |
expanding bmesh example (py api)
Diffstat (limited to 'doc/python_api/rst/include__bmesh.rst')
-rw-r--r-- | doc/python_api/rst/include__bmesh.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index f3d3b0257be..a55bf71b60f 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -101,7 +101,9 @@ Here are some examples ... for face in bm.faces: for loop in face.loops: uv = loop[uv_lay].uv - print("Loop UV: %f, %f" % (uv.x, uv.y)) + print("Loop UV: %f, %f" % uv[:]) + vert = loop.vert + print("Loop Vert: (%f,%f,%f)" % vert.co[:]) .. code-block:: python |