Skip to content
Snippets Groups Projects
Commit 88007753 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

save vertex id in .mesh file

parent 0a73391e
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ void MVertex::writeMESH(FILE *fp, double scalingFactor)
if(_index < 0) return; // negative index vertices are never saved
fprintf(fp, " %20.14G %20.14G %20.14G %d\n",
x() * scalingFactor, y() * scalingFactor, z() * scalingFactor, 0);
x() * scalingFactor, y() * scalingFactor, z() * scalingFactor, _index);
}
static void double_to_char8(double val, char *str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment