diff --git a/src/app/geometry/varc.cpp b/src/app/geometry/varc.cpp index cf195f9b2..83546cfa3 100644 --- a/src/app/geometry/varc.cpp +++ b/src/app/geometry/varc.cpp @@ -144,6 +144,11 @@ QPointF VArc::GetP2 () const */ qreal VArc::AngleArc() const { + if ((qFuzzyCompare(d->f1+1, 0+1) && qFuzzyCompare(d->f2, 360)) || + (qFuzzyCompare(d->f1, 360) && qFuzzyCompare(d->f2+1, 0+1))) + { + return 360; + } QLineF l1(0, 0, 100, 100); l1.setAngle(d->f1); QLineF l2(0, 0, 100, 100);