on mesh loading, set dummy-geometry if no geometry in mesh-file

This commit is contained in:
Joachim Schöberl 2017-04-18 15:06:40 +02:00
parent 5ed3de978b
commit 70da438d6d

View File

@ -108,7 +108,8 @@ void Ng_LoadMeshFromStream ( istream & input )
break;
}
}
if (!ng_geometry)
ng_geometry = make_shared<NetgenGeometry>();
mesh->SetGeometry (ng_geometry);
}