diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-22 20:24:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-22 20:24:09 +0400 |
commit | f16f545c6e78f8d677408b566dd2001dbb90e7f8 (patch) | |
tree | 9317e997fd7f90effab16b484d153f75f2f80936 /doc | |
parent | 3fc3c9f3b4003dd26e1df8282942622cbdb9e954 (diff) |
style cleanup
also fix example for mesh uv's
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/bpy.types.Mesh.py | 2 |
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)) |