From c744f39b399f644f8375070460f019d945b657ce Mon Sep 17 00:00:00 2001 From: skv Date: Wed, 2 Sep 2015 13:53:03 +0300 Subject: [PATCH] 0023134: EDF GEOM: Regression with getinplace --- src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx b/src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx index c7abe5e96..878faf172 100644 --- a/src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx +++ b/src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx @@ -182,7 +182,7 @@ Standard_Integer GEOMAlgo_GetInPlaceAPI::GetInPlaceOld if (fabs(tab_aWhat[3] - tab_aWhere[3]) <= aMassTol && aPnt_aWhat.Distance(aPnt) <= aTolConf) isFound = true; else { - if ((tab_aWhat[3] - tab_aWhere[3]) > aMassTol) { + if (tab_aWhat[3] > tab_aWhere[3]) { aPntShape = BRepBuilderAPI_MakeVertex( aPnt ).Shape(); aVertex = TopoDS::Vertex( aPntShape ); BRepExtrema_DistShapeShape aWhereDistance ( aVertex, Exp_aWhere.Current() ); -- 2.30.2