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

don't hang if no elements

parent 17876bbe
No related branches found
No related tags found
No related merge requests found
......@@ -2780,6 +2780,7 @@ void GFaceCompound::coherencePatches() const
void GFaceCompound::coherenceNormals()
{
if(!getNumMeshElements()) return;
Msg::Info("Re-orient all %d face normals coherently", getNumMeshElements());
std::map<MEdge, std::set<MElement*>, Less_Edge > edge2elems;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment