From: eap Date: Thu, 13 Mar 2014 15:21:35 +0000 (+0400) Subject: 22511: EDF 2845 SMESH : error with UseExistingFaces X-Git-Tag: V7_4_0a1~36^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7853f15768696ae06967cd819aee774a4f50f1d9;p=modules%2Fsmesh.git 22511: EDF 2845 SMESH : error with UseExistingFaces --- diff --git a/src/SMESHUtils/SMESH_OctreeNode.cxx b/src/SMESHUtils/SMESH_OctreeNode.cxx index ef85d11b5..31c6ba660 100644 --- a/src/SMESHUtils/SMESH_OctreeNode.cxx +++ b/src/SMESHUtils/SMESH_OctreeNode.cxx @@ -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;