fix materials in SaveMesh

This commit is contained in:
Joachim Schöberl 2016-03-22 13:00:20 +01:00
parent bee6c6bf90
commit 9dc8aa9ffb

View File

@ -595,7 +595,7 @@ namespace netgen
outfile << cntmat << endl;
for (i = 1; i <= materials.Size(); i++)
if (materials.Get(i) && materials.Get(i)->length())
outfile << i << " " << materials.Get(i) << endl;
outfile << i << " " << *materials.Get(i) << endl;
}