Skip to content
Snippets Groups Projects
Commit 403d4c0f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix for "implicit" transfinite surfaces
parent d8013fd1
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,8 @@ public:
// get the corners of the transfinite surface mesh
std::vector<MVertex*> c(4);
if(_gf->meshAttributes.corners.size() == 4){
if(_gf->meshAttributes.corners.empty() ||
_gf->meshAttributes.corners.size() == 4){
c[0] = _gf->transfinite_vertices[0][0];
c[1] = _gf->transfinite_vertices[_LL][0];
c[2] = _gf->transfinite_vertices[_LL][_HH];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment