read material names from fnf file

This commit is contained in:
Christopher Lackner 2020-08-06 18:06:26 +02:00
parent 2e39d07cc8
commit 620b90fbee

View File

@ -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
{ {