diff --git a/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C b/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C index 375e38961b..ebaf8737b8 100644 --- a/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C +++ b/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C @@ -210,6 +210,14 @@ int main(int argc, char *argv[]) outFile << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl; } + outFile + << "VERTICES " << points.size() << ' ' << (2 * points.size()) << nl; + + forAll(points, i) + { + outFile << 1 << ' ' << i << nl; + } + label nItems = 0; forAll(polyLines, polyI) {