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

Jason Harris kstars at 30doradus.org
Sat Dec 22 07:11:32 CET 2007


SVN commit 751536 by harris:

Fixing Bug 94895:
The KDE4 codebase is much more efficient in the way it determines
whether objects are onscreen, so we can now update the sky more often
without stressing the CPU too much.

BUG: 94895
CCMAIL: kstars-devel at kde.org



 M  +1 -1      kstarsdata.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kstarsdata.cpp #751535:751536
@@ -322,7 +322,7 @@
 
     //Update Alt/Az coordinates.  Timescale varies with zoom level
     //If Clock is in Manual Mode, always update. (?)
-    if ( fabs( ut().djd() - LastSkyUpdate.djd() ) > 0.25/Options::zoomFactor() || clock()->isManualMode() ) {
+    if ( fabs( ut().djd() - LastSkyUpdate.djd() ) > 0.1/Options::zoomFactor() || clock()->isManualMode() ) {
         LastSkyUpdate = ut();
         //TIMING
         //		t.start();


More information about the Kstars-devel mailing list