Comment 8 for bug 1400686

Revision history for this message
Nick Fedoseev (nick-ut2uz) wrote :

See StelPainter.cpp, function void StelPainter::drawSmallCircleArc

I do not know exactly what is the purpose of

if (rotCenter.lengthSquared()<0.00000001)
 {
  // Great circle
  // Perform the tesselation of the arc in small segments in a way so that the lines look smooth
  fIter(prj, start, stop, win1, win2, tessArc, tessArc.insert(tessArc.end(), win2), 1, rotCenter);
 }

But coordinates are distorted here.

I just tried to comment out that portion of code, leaving the opposite branch, the bug has gone.
The proposed patch is attached.