respect 2nd order segment when exporting neutral format

This commit is contained in:
Joachim Schöberl 2017-06-28 00:16:56 +02:00
parent ee476e154d
commit 792ff477be

View File

@ -250,7 +250,11 @@ void WriteNeutralFormat (const Mesh & mesh,
outfile << " "; outfile << " ";
outfile.width(8); outfile.width(8);
outfile << seg[1]; outfile << seg[1];
if (seg[2] != -1)
{
outfile.width(8);
outfile << seg[2];
}
outfile << "\n"; outfile << "\n";
} }
} }