Salome HOME
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance...
authorvsr <vsr@opencascade.com>
Thu, 17 Jun 2010 19:00:18 +0000 (19:00 +0000)
committervsr <vsr@opencascade.com>
Thu, 17 Jun 2010 19:00:18 +0000 (19:00 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 6801d7d0d14bbaf14a8cff2861c44c72d9e5f8e8..44ec9e40812e53a7b73a43ba8a53c76ea176584e 100644 (file)
@@ -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() );