[Kstars-devel] kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Mon Dec 8 22:43:11 CET 2003


CVS commit by harris: 

Fixing bug #64827:  one user reported that pressing "n" (to go to the 
north point above the horizon) resulted in a blank screen.  I suspected 
that the porblem was somehow related to the azimuth angle being set to 
exactly 0.0 degrees (although I don't really understand why that should 
cause a problem).  The reporter confirmed that changing the code to set 
Az=0.0001 fixes the problem.  Implementing this as a workaround.

CCMAIL: kstars-devel at kde.org
CCMAIL: 64827-done at bugs.kde.org


  M +1 -1      skymapevents.cpp   1.77


--- kdeedu/kstars/kstars/skymapevents.cpp  #1.76:1.77
@@ -132,5 +132,5 @@ void SkyMap::keyPressEvent( QKeyEvent *e
                 case Key_N: //center on north horizon
                         stopTracking();
-                        setDestinationAltAz( 15.0, 0.0 );
+                        setDestinationAltAz( 15.0, 0.0001 );
                         break;
 




More information about the Kstars-devel mailing list