expanding bmesh example (py api)
authorDalai Felinto <dfelinto@gmail.com>
Tue, 22 May 2012 18:14:34 +0000 (18:14 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 22 May 2012 18:14:34 +0000 (18:14 +0000)
doc/python_api/rst/include__bmesh.rst

index f3d3b0257bec2c8b070d095a9488e7ea19d312ae..a55bf71b60f8ccec4bf39d628da977a1bccf356f 100644 (file)
@@ -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