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

Jason Harris kstars at 30doradus.org
Wed Sep 7 07:22:34 CEST 2005


SVN commit 457954 by harris:

Do a full update after installing new comet/asteroids ephemerides so 
their horizontal coords get computed

CCMAIL: kstars-devel at kde.org



 M  +5 -0      ksnewstuff.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/ksnewstuff.cpp #457953:457954
@@ -155,6 +155,11 @@
 		//add new asteroids and comets
 		ks->data()->readAsteroidData();
 		ks->data()->readCometData();
+
+		//Do a full update
+		ks->data()->setFullTimeUpdate();
+		ks->data()->updateTime( ks->geo(), ks->map() );
+		ks->map()->forceUpdate();
 	}
 
 	//Restore arrow cursor


More information about the Kstars-devel mailing list