22511: EDF 2845 SMESH : error with UseExistingFaces

This commit is contained in:
eap 2014-03-13 19:21:35 +04:00
parent 143f1ac50c
commit 7853f15768

View File

@ -235,7 +235,7 @@ bool SMESH_OctreeNode::NodesAround(const gp_XYZ &node,
// if ( dist2Nodes.size() > 1 ) // leave only closest node in dist2Nodes
// dist2Nodes.erase( ++dist2Nodes.begin(), dist2Nodes.end());
return ( sqrt( minDist) <= precision * 1e-12 );
return ( sqrt( minDist) <= precision * ( 1 + 1e-12 ));
}
}
return false;