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

Jason Harris kstars at 30doradus.org
Tue Mar 7 14:54:42 CET 2006


SVN commit 516526 by harris:

The ecliptic line is now drawn in the map (SkyPoint::setFromEcliptic() 
did not set the invariant equatorial coordinates, RA0 and 
Dec0).

CCMAIL: kstars-devel at kde.org


 M  +2 -0      dms.cpp  
 M  +2 -0      skypoint.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/dms.cpp #516525:516526
@@ -50,6 +50,8 @@
 void dms::setRadians( const double &Rad ) {
 	setD( Rad/DegToRad );
 	Radians = Rad;
+	scDirty = true;
+	rDirty = true;
 }
 
 bool dms::setFromString( const QString &str, bool isDeg ) {
--- trunk/KDE/kdeedu/kstars/kstars/skypoint.cpp #516525:516526
@@ -141,7 +141,9 @@
 	//newRA.setRadians( RARad );
 	//newDec.setRadians( asin( sinDec ) );
 	RA.setRadians( RARad );
+	RA0.set( RA );
 	Dec.setRadians( asin(sinDec) );
+	Dec0.set( Dec );
 }
 
 void SkyPoint::precess( const KSNumbers *num) {


More information about the Kstars-devel mailing list