style cleanup

also fix example for mesh uv's
This commit is contained in:
Campbell Barton
2012-05-22 16:24:09 +00:00
parent 3fc3c9f3b4
commit f16f545c6e
6 changed files with 74 additions and 71 deletions

View File

@@ -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))