0022688: Syntax error in file BRepOffset_Inter2d.cxx: wrong usage of brackets in...
authorJGV <>
Fri, 12 Aug 2011 04:07:32 +0000 (04:07 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:29:39 +0000 (19:29 +0400)
src/BRepOffset/BRepOffset_Inter2d.cxx

index e0b1473..5920c69 100755 (executable)
@@ -1282,7 +1282,7 @@ static void ExtentEdge(const TopoDS_Edge& E,TopoDS_Edge& NE, const Standard_Real
       Standard_Real LastPar  = C3d->LastParameter();
       
       if (C3d->IsKind(STANDARD_TYPE(Geom_BoundedCurve)) &&
-         FirstPar > anEf - a2Offset || LastPar < anEl + a2Offset)
+         (FirstPar > anEf - a2Offset || LastPar < anEl + a2Offset))
        {
          Handle(Geom_TrimmedCurve) aTrCurve = 
            new Geom_TrimmedCurve(C3d, FirstPar, LastPar);