[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kstars/kstars
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2003-04-30 23:48:48
[Download RAW message or body]

CVS commit by harris: 

removed redundant call to SkyMap::Update() in 
KStars::updateTime().  We already call Update() in 
KStarsData::updateTime(), which is always called by 
KStars::updateTime().

Note that this effectively doubles the rendering 
speed when using a large timestep.


  M +2 -2      kstars.cpp   1.64


--- kdeedu/kstars/kstars/kstars.cpp  #1.63:1.64
@@ -144,6 +144,6 @@ void KStars::updateTime( const bool auto
         Data->updateTime( clock, geo(), Map, automaticDSTchange );
 
-        if ( infoBoxes()->timeChanged(Data->UTime, Data->LTime, Data->LST, Data->CurrentDate) )
-                Map->update();
+//      if ( infoBoxes()->timeChanged(Data->UTime, Data->LTime, Data->LST, Data->CurrentDate) )
+//              Map->update();
 
         //We do this outside of kstarsdata just to get the coordinates


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic