Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-22 20:24:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-22 20:24:09 +0400
commitf16f545c6e78f8d677408b566dd2001dbb90e7f8 (patch)
tree9317e997fd7f90effab16b484d153f75f2f80936 /doc
parent3fc3c9f3b4003dd26e1df8282942622cbdb9e954 (diff)
style cleanup
also fix example for mesh uv's
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.Mesh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Mesh.py b/doc/python_api/examples/bpy.types.Mesh.py
index 1ee5118df6d..d30303f3b05 100644
--- a/doc/python_api/examples/bpy.types.Mesh.py
+++ b/doc/python_api/examples/bpy.types.Mesh.py
@@ -28,7 +28,7 @@ This example script prints the vertices and UV's for each polygon, assumes the a
import bpy
me = bpy.context.object.data
-uv_layer = me.uv.layers.active.data
+uv_layer = me.uv_layers.active.data
for poly in me.polygons:
print("Polygon index: %d, length: %d" % (poly.index, poly.loop_total))