]> OCCT Git - occt.git/commitdiff
0029660: Misprint in BuildEdge(...) static function of BRepFill_Sweep.cxx file
authornbv <nbv@opencascade.com>
Thu, 29 Mar 2018 07:43:30 +0000 (10:43 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 29 Mar 2018 14:13:17 +0000 (17:13 +0300)
Misprint has been eliminated.

src/BRepFill/BRepFill_Sweep.cxx

index 8b628e151890c58b03dbfbb3585d15aa06a0bb57..07bd4fa4ae23b80cb36228208b046372bb5e137a 100644 (file)
@@ -716,7 +716,7 @@ static TopoDS_Edge BuildEdge(Handle(Geom_Curve)& C3d,
 //  P2  = BT.Pnt(VL);
   P2  = BRep_Tool::Pnt(VL);
 //  Tol2 = BT.Tolerance(VF);
-  Tol2 = BRep_Tool::Tolerance(VF);
+  Tol2 = BRep_Tool::Tolerance(VL);
   Tol = Max(Tol1, Tol2);
 
   if (VF.IsSame(VL) ||