mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
on mesh loading, set dummy-geometry if no geometry in mesh-file
This commit is contained in:
parent
5ed3de978b
commit
70da438d6d
@ -108,7 +108,8 @@ void Ng_LoadMeshFromStream ( istream & input )
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!ng_geometry)
|
||||
ng_geometry = make_shared<NetgenGeometry>();
|
||||
mesh->SetGeometry (ng_geometry);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user