Mesh.remove_unused_vertices

Mesh.remove_unused_vertices()

Remove all unused vertices from the mesh object.