mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +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