From: vsr Date: Thu, 17 Jun 2010 19:00:18 +0000 (+0000) Subject: Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance... X-Git-Tag: translate_resources_09Jul10~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97577f2731228b0d53ea129b5f84b20455225e3c;p=modules%2Fsmesh.git Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 6801d7d0d..44ec9e408 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -5977,7 +5977,7 @@ struct SMESH_NodeSearcherImpl: public SMESH_NodeSearcher SMESH_OctreeNode* tree = *trIt; if ( !tree->isLeaf() ) // put children to the queue { - if ( !tree->isInside( &pointNode, myHalfLeafSize )) continue; + //if ( !tree->isInside( &pointNode, myHalfLeafSize )) continue; SMESH_OctreeNodeIteratorPtr cIt = tree->GetChildrenIterator(); while ( cIt->more() ) treeList.push_back( cIt->next() );