Hi everybody, I'm not sure this is the right place to report this. However I was browsing the documentation of bpy.types.MeshPolygon and I found the following. I think the the number 3 is not correct, since there may be more than 3 vertices.
Type : int array of 3 items in [0, inf], default (0, 0, 0)
I'll be happy to report this in the appropriate forum or wiki if it is really an error.
Thank you for all your work on this amazing software.
Dario "damix" D'Amico
They are vertex index values.
me = bpy.data.meshes["Cube"]
for v_index in me.polygons.vertices:
it's not a real docu error, as property list get generated automatically from .c scripts (makesrna.exe?)
Polygon.vertices is initialized as 3 element RNA array, but flagged to be dynamical. The generator doesn't seem to take this flag into account.
I'm sitting, waiting, wishing, building Blender in superstition...