[Kstars-devel] Problem with coordinate grid at high zoom

James Bowlin bowlin at mindspring.com
Sun Sep 2 18:51:44 CEST 2007


On Sun September 2 2007, Jason Harris wrote:
> James, is there anything unique about the way the grid is handled
> compared to other linelist items like constellation boundaries?

I checked the code and the grid is not handled any differently.

> More information on this: it does not lock up if antialiased drawing
> is off.   
 
H'mm.  This is even more strange.  If you want a work-around, the
place to do it would be NoPrecessIndex::draw().  For example, I was
going to suggest the following temporary patch which would turn off
indexed drawing for things that don't precess:

--- noprecessindex.cpp  (revision 707673)
+++ noprecessindex.cpp  (working copy)
@@ -52,7 +52,7 @@
     }
        **/

-    if ( skyMesh()->isZoomedIn() ) {
+    if ( 0 ) {
         if ( Options::useAntialias() )
             drawLinesFloat( kstars, psky, scale );
         else


But with this latest news, you might want to try just turning off
the anti-aliased drawing in that branch instead.

I'm updating my tree now.  Then I will try to reproduce the problem.


-- 
Peace, James


More information about the Kstars-devel mailing list