[Kstars-devel] branches/kstars/summer/kstars/kstars/tools

Prakash Mohan prak902000 at gmail.com
Thu May 7 21:57:31 CEST 2009


SVN commit 965018 by prakash:

Clearing the plot objects of AVTPlots in Observing List before each object is plotted to avoid clutter.

CCMAIL: kstars-devel at kde.org


 M  +1 -0      observinglist.cpp  


--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #965017:965018
@@ -747,6 +747,7 @@
         for ( double h=-12.0; h<=12.0; h+=0.5 ) {
             po->addPoint( h, findAltitude( o, h ) );
         }
+    ui->View->removeAllPlotObjects();
 	ui->View->addPlotObject( po );
 }
 double ObservingList::findAltitude( SkyPoint *p, double hour ) {


More information about the Kstars-devel mailing list