mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 00:40:32 +05:00
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value
This commit is contained in:
parent
6ea1e8f320
commit
97577f2731
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user