Changed endIndex in ofMesh:: setColorForIndices and ofMesh::getMeshForIndices to be last index and not total. Changed appropriate variables in of3dPrimitives to account for change in indices.