[Kstars-devel] branches/kstars/summer/kdeedu/kstars/kstars/skycomponents

Akarsh Simha akarshsimha at gmail.com
Mon Jun 16 00:15:26 CEST 2008


SVN commit 820968 by asimha:

Using the global drawID from the m_skyMesh object.

CCMAIL: kstars-devel at kde.org



 M  +1 -3      starcomponent.cpp  


--- branches/kstars/summer/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #820967:820968
@@ -280,9 +280,7 @@
         //        kDebug() << "Drawing SBL for trixel " << currentRegion << ", SBL has " 
         //                 <<  m_starBlockList[ currentRegion ]->getBlockCount() << " blocks" << endl;
 
-        // Increment drawID, for time being
-        // TODO: Figure out where the current drawID is stored and sync it with that
-        m_StarBlockFactory.drawID++;
+        m_StarBlockFactory.drawID = m_skyMesh->drawID();
 
         for( int i = 0; i < m_starBlockList[ currentRegion ]->getBlockCount(); ++i ) {
             StarBlock *block = m_starBlockList[ currentRegion ]->block( i );


More information about the Kstars-devel mailing list