projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b1a2b
)
expanding bmesh example (py api)
author
Dalai Felinto <dfelinto@gmail.com>
Tue, 22 May 2012 18:14:34 +0000
(18:14 +0000)
committer
Dalai Felinto <dfelinto@gmail.com>
Tue, 22 May 2012 18:14:34 +0000
(18:14 +0000)
doc/python_api/rst/include__bmesh.rst
patch
|
blob
|
history
diff --git
a/doc/python_api/rst/include__bmesh.rst
b/doc/python_api/rst/include__bmesh.rst
index f3d3b0257bec2c8b070d095a9488e7ea19d312ae..a55bf71b60f8ccec4bf39d628da977a1bccf356f 100644
(file)
--- 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