diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index bbf8141a61..5649e05bcc 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -2143,7 +2143,7 @@ TopoDS_Shape Area::toShape(const CCurve &_c, const gp_Trsf *trsf, int reorient) continue; } gp_Pnt pnext(v.m_p.x,v.m_p.y,0); - if(pnext.SquareDistance(pt)pend(); return myBestWire->wire; } @@ -2553,7 +2553,7 @@ struct ShapeInfo{ Handle_Geom_Curve curve = BRep_Tool::Curve(edge, first, last); pt = curve->Value(last); bool reversed; - if(pprev.SquareDistance(pt)Value(first); }else @@ -2623,7 +2623,7 @@ struct ShapeInfo{ continue; } } - }else if(myBestPt.SquareDistance(pprev)