[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

James Bowlin bowlin at mindspring.com
Sun Sep 2 19:47:43 CEST 2007


SVN commit 707686 by jbowlin:

I have tracked the high-zoom coordinate grid lockup to line 386 in
linelistindex.cpp inside of the drawLinesFloat routine:

    psky.drawLine( oLast, oThis );

This commit re-inserts the onScreen check which reduces the problem
(by reducing the number of times the above line executes) this does
not eliminate the problem.

CCMAIL: kstars-devel at kde.org


 M  +1 -1      linelistindex.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/linelistindex.cpp #707685:707686
@@ -380,7 +380,7 @@
                 pThis = points->at( i );
                 oThis = map->toScreenI( pThis, scale, false, &isVisible );
 
-                if ( ! skipAt( lineList, i ) ) {
+                if ( map->onScreen( oThis, oLast) && ! skipAt( lineList, i ) ) {
 
                     if ( isVisible && isVisibleLast ) {
                         psky.drawLine( oLast, oThis );


More information about the Kstars-devel mailing list