From 3eb3fdd8e62353fbc107c42cde25cf4aa7ceac20 Mon Sep 17 00:00:00 2001 From: ifv Date: Fri, 10 Jul 2015 14:10:14 +0300 Subject: [PATCH] 0025048: Wrong return value of GeomLib_Tool::Parameter --- src/GeomLib/GeomLib_Tool.cxx | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1