[Gpredict-svn] SF.net SVN: gpredict:[912] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <aa...@us...> - 2011-10-02 23:48:31
|
Revision: 912 http://gpredict.svn.sourceforge.net/gpredict/?rev=912&view=rev Author: aa1vs Date: 2011-10-02 23:48:25 +0000 (Sun, 02 Oct 2011) Log Message: ----------- Delete ground track of decayed satellite. Modified Paths: -------------- trunk/ChangeLog trunk/NEWS trunk/src/gtk-sat-map-ground-track.c trunk/src/gtk-sat-map.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-10-01 10:02:29 UTC (rev 911) +++ trunk/ChangeLog 2011-10-02 23:48:25 UTC (rev 912) @@ -1,3 +1,9 @@ +2011-09-28 Charles Suprin <hamaa1vs at gmail.com> + + * src/gtk-sat-map.c + * src/gtk-sat-map-ground-track.c + + 2011-10-01 Alexandru Csete <oz9aec at gmail.com> * src/gtk-sat-moduile-tmg.c: Modified: trunk/NEWS =================================================================== --- trunk/NEWS 2011-10-01 10:02:29 UTC (rev 911) +++ trunk/NEWS 2011-10-02 23:48:25 UTC (rev 912) @@ -15,6 +15,7 @@ - Fixed bug 3271573: Track button in rotator controller has no effect. - Fixed bug 3400534: Operational Status. - Fixed bug 3309111: Wrong icon in time controller. +- Fixed bug 3413571: UARS Ground Track not Updated on TLE update. Changes in version 1.3 (1 Mar 2011) Modified: trunk/src/gtk-sat-map-ground-track.c =================================================================== --- trunk/src/gtk-sat-map-ground-track.c 2011-10-01 10:02:29 UTC (rev 911) +++ trunk/src/gtk-sat-map-ground-track.c 2011-10-02 23:48:25 UTC (rev 912) @@ -191,6 +191,11 @@ _("%s: Updating ground track for %s"), __FUNCTION__, sat->nickname); + if (decayed(sat)) { + ground_track_delete (satmap, sat, qth, obj, TRUE); + return; + } + if (recalc == TRUE) { ground_track_delete (satmap, sat, qth, obj, TRUE); ground_track_create (satmap, sat, qth, obj); Modified: trunk/src/gtk-sat-map.c =================================================================== --- trunk/src/gtk-sat-map.c 2011-10-01 10:02:29 UTC (rev 911) +++ trunk/src/gtk-sat-map.c 2011-10-02 23:48:25 UTC (rev 912) @@ -2033,7 +2033,11 @@ if (idx !=-1) goo_canvas_item_model_remove_child (root, idx); g_hash_table_remove (satmap->obj, catnum); - g_free (obj); + if (obj->showtrack) + ground_track_update (satmap, sat, satmap->qth, obj, TRUE); + g_free (obj); + /* remove obj from hash */ + g_hash_table_remove (satmap->obj, catnum); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |