From 60be2eaa6218cf3ccdd2d9b7cf3bae4435a33274 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 11 Dec 2013 18:21:18 +0000 Subject: [PATCH] fix for mesh-based views --- Post/OctreePost.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Post/OctreePost.cpp b/Post/OctreePost.cpp index c3039de8ab..3f28936727 100644 --- a/Post/OctreePost.cpp +++ b/Post/OctreePost.cpp @@ -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]; -- GitLab