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

fix crash

parent 91677bad
No related branches found
No related tags found
No related merge requests found
...@@ -969,7 +969,7 @@ void curveMeshFromBndElt(MEdgeVecMEltMap &ed2el, MFaceVecMEltMap &face2el, ...@@ -969,7 +969,7 @@ void curveMeshFromBndElt(MEdgeVecMEltMap &ed2el, MFaceVecMEltMap &face2el,
foundCol = getColumn3D(face2el, p, baseFace, baseVert, topPrimVert, foundCol = getColumn3D(face2el, p, baseFace, baseVert, topPrimVert,
blob, aboveElt); blob, aboveElt);
} }
if (!foundCol) return; // Skip bnd. el. if top vertices not found if (!foundCol || blob.empty()) return; // Skip bnd. el. if top vertices not found
DbgOutputCol dbgOutCol; DbgOutputCol dbgOutCol;
dbgOutCol.addBlob(blob); dbgOutCol.addBlob(blob);
dbgOutCol.write("col_KO", bndElt->getNum()); dbgOutCol.write("col_KO", bndElt->getNum());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment