mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-07 22:07:28 +05:00
fix materials in SaveMesh
This commit is contained in:
parent
bee6c6bf90
commit
9dc8aa9ffb
@ -595,7 +595,7 @@ namespace netgen
|
|||||||
outfile << cntmat << endl;
|
outfile << cntmat << endl;
|
||||||
for (i = 1; i <= materials.Size(); i++)
|
for (i = 1; i <= materials.Size(); i++)
|
||||||
if (materials.Get(i) && materials.Get(i)->length())
|
if (materials.Get(i) && materials.Get(i)->length())
|
||||||
outfile << i << " " << materials.Get(i) << endl;
|
outfile << i << " " << *materials.Get(i) << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user