From: SAN <> Date: Wed, 22 Feb 2012 12:49:54 +0000 (+0000) Subject: 0022844: Bug in Select2d_SensitiveSegment X-Git-Tag: V6_5_3_beta1~70 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=695bdd1bbcea3a387384e1e8d8f9c94804d1ce99;p=occt.git 0022844: Bug in Select2d_SensitiveSegment --- diff --git a/src/Select2D/Select2D_SensitiveSegment.cxx b/src/Select2D/Select2D_SensitiveSegment.cxx index 8747d5f417..86eec5d8a2 100755 --- a/src/Select2D/Select2D_SensitiveSegment.cxx +++ b/src/Select2D/Select2D_SensitiveSegment.cxx @@ -112,7 +112,7 @@ Matches (const Standard_Real XMin, Bnd_Box2d BoundBox; BoundBox.Update(XMin-TheTol,YMin-TheTol,XMax+TheTol,YMax+TheTol); - if (BoundBox.IsOut(mystart)&&BoundBox.IsOut(myend)) return Standard_False; + if (BoundBox.IsOut(mystart)||BoundBox.IsOut(myend)) return Standard_False; return Standard_True; }