]> OCCT Git - occt-copy.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)
committernbv <nbv@opencascade.com>
Sat, 28 Apr 2018 06:31:16 +0000 (09:31 +0300)
Misprint has been eliminated.

(cherry picked from commit 10a55e0d05e945b8ffeddaa1fcd5c7763d539c81)

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) ||