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

List:       kstars-devel
Subject:    [Kstars-devel] kdeedu/kstars/kstars
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2004-08-01 5:14:52
Message-ID: 20040801051452.9232D9A02 () office ! kde ! org
[Download RAW message or body]

CVS commit by harris: 

Fixing problem with Manual Focus tool:  could not set RA/Dec coords 
while using horizontal coordinates.

CCMAIL: kstars-devel@kde.org


  M +4 -0      kstarsactions.cpp   1.116


--- kdeedu/kstars/kstars/kstarsactions.cpp  #1.115:1.116
@@ -618,4 +618,8 @@ void KStars::slotManualFocus() {
                         focusDialog.point()->HorizontalToEquatorial( LST(), geo()->lat() );
 
+                //Do we need to convert RA/Dec to Alt/Az?
+                if ( ! focusDialog.usedAltAz() )
+                        focusDialog.point()->EquatorialToHorizontal( LST(), geo()->lat() );
+
                 map()->setClickedPoint( focusDialog.point() );
                 if ( Options::isTracking() ) slotTrack();


_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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