Fixed Mesh::setFormat()