added rna api MVert,MFace & MEdge index properties
authorCampbell Barton <ideasman42@gmail.com>
Mon, 12 Oct 2009 19:34:58 +0000 (19:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 12 Oct 2009 19:34:58 +0000 (19:34 +0000)
commitb5f820cd874a7b3ca1de81103b99969429adfd6c
treef2bf19fa8eb0cfe1e23828f10ba845d3bb13b78a
parent0696cf23e5561a2ac65cf5af8881748cc45b8da4
added rna api MVert,MFace & MEdge index properties
eg.
 for v in me.verts: print(v.index)

added calc_edges as an option eg.
  mesh.update(calc_edges=True)

This is needed when adding faces to an existing mesh which create new edges.
source/blender/editors/include/ED_mesh.h
source/blender/editors/mesh/mesh_data.c
source/blender/makesrna/intern/rna_mesh.c
source/blender/makesrna/intern/rna_mesh_api.c
source/blender/python/intern/bpy_interface.c