From kde-commits Wed Apr 30 23:48:48 2003 From: Jason Harris Date: Wed, 30 Apr 2003 23:48:48 +0000 To: kde-commits Subject: kdeedu/kstars/kstars X-MARC-Message: https://marc.info/?l=kde-commits&m=105174653401362 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