mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-25 21:45:40 +05:00
fix bug in mesh read/write when identification name is empty
This commit is contained in:
parent
886bb14299
commit
b79128fabf
@ -905,7 +905,9 @@ namespace netgen
|
||||
for (i = 1; i <= ident -> GetMaxNr(); i++)
|
||||
{
|
||||
string name = ident -> GetName(i);
|
||||
outfile << ident->GetName(i) << "\n";
|
||||
if(name == "")
|
||||
name = "default";
|
||||
outfile << name << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user