projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc66be9
)
0025048: Wrong return value of GeomLib_Tool::Parameter
author
ifv
<ifv@opencascade.com>
Fri, 10 Jul 2015 11:10:14 +0000
(14:10 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Mon, 20 Jul 2015 10:40:59 +0000
(13:40 +0300)
src/GeomLib/GeomLib_Tool.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/GeomLib/GeomLib_Tool.cxx
b/src/GeomLib/GeomLib_Tool.cxx
index
2049a72
..
daa4408
100644
(file)
--- 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; }