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

fix for mesh-based views

parent 4a83fd97
No related branches found
No related tags found
No related merge requests found
......@@ -411,6 +411,7 @@ static MElement *getElement(double P[3], GModel *m,
fabs(v->y() - qy[j]) < eps &&
fabs(v->z() - qz[j]) < eps);
}
if(ok) return elements[i];
}
}
if(elements.size()) return elements[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment