1 May 06:52
KDE/kdeedu/kstars/kstars
Jason Harris <kstars <at> 30doradus.org>
2008-05-01 04:52:19 GMT
2008-05-01 04:52:19 GMT
SVN commit 802895 by harris:
When slewing to a new location, do not allow the "update" heartbeat to interrupt the
slew and "snap" the focus to the new location.
CCMAIL: kstars-devel <at> kde.org
M +8 -2 skymap.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #802894:802895
@@ -659,6 +659,9 @@
}
void SkyMap::updateFocus() {
+ if ( slewing ) return;
+
+ //Tracking on an object
if ( Options::isTracking() && focusObject() != NULL ) {
if ( Options::useAltAz() ) {
//Tracking any object in Alt/Az mode requires focus updates
@@ -674,6 +677,8 @@
focus()->EquatorialToHorizontal( data->LST, data->geo()->lat() );
setDestination( focus() );
}
+
+ //Tracking on empty sky
} else if ( Options::isTracking() && focusPoint() != NULL ) {
if ( Options::useAltAz() ) {
//Tracking on empty sky in Alt/Az mode
@@ -681,8 +686,9 @@
(Continue reading)
RSS Feed