mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
read material names from fnf file
This commit is contained in:
parent
2e39d07cc8
commit
620b90fbee
@ -208,7 +208,9 @@ namespace netgen
|
|||||||
sbuf >> nr >> prop >> ch;
|
sbuf >> nr >> prop >> ch;
|
||||||
if (prop == "DEF")
|
if (prop == "DEF")
|
||||||
{
|
{
|
||||||
;
|
string name;
|
||||||
|
sbuf >> name;
|
||||||
|
mesh.SetMaterial(nr, name);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user