[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

Akarsh Simha akarshsimha at gmail.com
Sat Aug 2 22:43:37 CEST 2008


SVN commit 841239 by asimha:

Fixing bug with display of stars.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      starcomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #841238:841239
@@ -512,7 +512,7 @@
 
     for(int i = 0; i < m_skyMesh -> size(); ++i) {
 
-        Trixel trixel = ( ( i >= 256 ) ? ( i - 256 ) : ( i + 256 ) );
+        Trixel trixel = i;// = ( ( i >= 256 ) ? ( i - 256 ) : ( i + 256 ) );
         StarBlock *SB = new StarBlock( dataReader.getRecordCount( i ) );
         if( !SB )
             kDebug() << "ERROR: Could not allocate new StarBlock to hold shallow unnamed stars for trixel " << trixel << endl;


More information about the Kstars-devel mailing list