SVN commit 1143782 by khudyakov: Remove manual clipping. It doesn't affect perfomance either. Qt does clipping too. M +3 -9 linelistindex.cpp --- trunk/KDE/kdeedu/kstars/kstars/skycomponents/linelistindex.cpp #1143781:1143782 @@ -249,17 +249,11 @@ oThis2 = oThis = map->toScreen( pThis, true, &isVisible ); if ( map->onScreen( oThis, oLast) && ! skipAt( lineList, j ) ) { - if ( isVisible && isVisibleLast ) { - psky.drawLine( oLast, oThis ); + if( isVisible && isVisibleLast ) updateLabelCandidates( oThis, lineList, j ); - } else if ( isVisibleLast ) { - QPointF oMid = map->clipLine( pLast, pThis ); - psky.drawLine( oLast, oMid ); - } else if ( isVisible ) { - QPointF oMid = map->clipLine( pThis, pLast ); - psky.drawLine( oMid, oThis ); + if( isVisible || isVisibleLast ) + psky.drawLine( oLast, oThis ); } - } pLast = pThis; oLast = oThis2;