diff --git a/src/GeomLib/GeomLib_Tool.cxx b/src/GeomLib/GeomLib_Tool.cxx index 2049a723bf..daa44083f3 100644 --- a/src/GeomLib/GeomLib_Tool.cxx +++ b/src/GeomLib/GeomLib_Tool.cxx @@ -190,6 +190,7 @@ Standard_Boolean GeomLib_Tool::Parameter(const Handle(Geom_Curve)& Curve, } } if( iMin != 0 && Dist2Min <= aTol ) U = (extrema.Point(iMin)).Parameter(); + else return Standard_False; } else { return Standard_False; }